🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀 New videos dropping every week—start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Community Projects
    • Live Sessions
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Community Projects Live Sessions Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Hanwen Zhang
    Hanwen Zhang
    20,084 Points

    What does the " span.textContent = text " works here?

    Posted March 30, 2021 1:37am by Hanwen Zhang
    Hanwen Zhang
    20,084 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Moving to an Editing State

    1 Answer

  • Sadaf Partovi
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Sadaf Partovi
    Front End Web Development Techdegree Graduate 14,594 Points

    Edit Button

    Posted December 27, 2020 11:40pm by Sadaf Partovi
    .a{fill-rule:evenodd;}techdegree seal-36
    Sadaf Partovi
    Front End Web Development Techdegree Graduate 14,594 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Moving to an Editing State

    1 Answer

  • sanjeshwari Nand
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    sanjeshwari Nand
    Full Stack JavaScript Techdegree Student 4,673 Points

    my name/input value keeps disappearing after i edit, please help

    Posted September 16, 2020 5:35pm by sanjeshwari Nand
    .a{fill-rule:evenodd;}techdegree
    sanjeshwari Nand
    Full Stack JavaScript Techdegree Student 4,673 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Moving to an Editing State

    2 Answers

  • Siddharth Pandey
    Siddharth Pandey
    7,280 Points

    Why does this not work for creating a save state?

    Posted July 23, 2019 4:47pm by Siddharth Pandey
    Siddharth Pandey
    7,280 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Moving to an Editing State

    1 Answer

  • Jesse Vorvick
    Jesse Vorvick
    6,047 Points

    My Solution

    Posted July 9, 2019 5:46pm by Jesse Vorvick
    Jesse Vorvick
    6,047 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Moving to an Editing State

    1 Answer

  • Dilip Agheda
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Dilip Agheda
    Full Stack JavaScript Techdegree Graduate 28,581 Points

    Bug in the video and project files

    Posted November 13, 2018 8:44am by Dilip Agheda
    .a{fill-rule:evenodd;}techdegree seal-36
    Dilip Agheda
    Full Stack JavaScript Techdegree Graduate 28,581 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Moving to an Editing State

    1 Answer

  • Myles Young
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Myles Young
    Full Stack JavaScript Techdegree Graduate 22,056 Points

    I got it (with some help) check my comments for how It is done, and what is doing what!

    Posted August 20, 2018 2:17pm by Myles Young
    .a{fill-rule:evenodd;}techdegree seal-36
    Myles Young
    Full Stack JavaScript Techdegree Graduate 22,056 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Moving to an Editing State

    1 Answer

  • charlotte `Sukhraj
    charlotte `Sukhraj
    7,570 Points

    Edit Button Error ...

    Posted July 18, 2018 4:20am by charlotte `Sukhraj
    charlotte `Sukhraj
    7,570 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Moving to an Editing State

    1 Answer

  • Aakash Srivastav
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Aakash Srivastav
    Full Stack JavaScript Techdegree Student 11,638 Points

    Moving to an edit state

    Posted July 9, 2018 10:37am by Aakash Srivastav
    .a{fill-rule:evenodd;}techdegree
    Aakash Srivastav
    Full Stack JavaScript Techdegree Student 11,638 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Moving to an Editing State

    0 Answers

  • Bob Allan
    Bob Allan
    10,900 Points

    Why is my text not replaced with an input element?

    Posted May 6, 2018 6:01pm by Bob Allan
    Bob Allan
    10,900 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Moving to an Editing State

    1 Answer

  • Saqib Ishfaq
    Saqib Ishfaq
    13,912 Points

    my solution

    Posted January 11, 2018 10:12am by Saqib Ishfaq
    Saqib Ishfaq
    13,912 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Moving to an Editing State

    0 Answers

  • SAMUEL LAWRENCE
    PLUS
    SAMUEL LAWRENCE
    Courses Plus Student 8,447 Points

    woohooooo, I did it.

    Posted January 5, 2018 7:02am by SAMUEL LAWRENCE
    SAMUEL LAWRENCE
    Courses Plus Student 8,447 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Moving to an Editing State

    1 Answer

  • Daniel McHugh
    Daniel McHugh
    1,821 Points

    Can someone walk me through exactly what we did here in terms of what caused what?

    Posted November 16, 2017 11:22pm by Daniel McHugh
    Daniel McHugh
    1,821 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Moving to an Editing State

    1 Answer

  • nico dev
    nico dev
    20,364 Points

    insertBefore() + removeChild != replaceChild() ?

    Posted August 23, 2017 11:21am by nico dev
    nico dev
    20,364 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Moving to an Editing State

    1 Answer

  • Tomasz Cysewski
    Tomasz Cysewski
    2,736 Points

    Input element is not working properly

    Posted April 27, 2017 2:30pm by Tomasz Cysewski
    Tomasz Cysewski
    2,736 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Moving to an Editing State

    1 Answer

  • Sergi Oca
    Sergi Oca
    7,981 Points

    Code could be simpler?

    Posted January 16, 2017 8:44am by Sergi Oca
    Sergi Oca
    7,981 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Moving to an Editing State

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.