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

New No-Code Track! 🚀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
    • 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
  • 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
    • Showing results for:
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Moving to an Editing State
    • Close
  • Hanwen Zhang
    Hanwen Zhang
    20,084 Points

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

    Posted on Mar 30, 2021 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 on Dec 27, 2020 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 on Sep 16, 2020 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 on Jul 23, 2019 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 on Jul 9, 2019 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 on Nov 13, 2018 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 on Aug 20, 2018 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 on Jul 18, 2018 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 on Jul 9, 2018 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 on May 6, 2018 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 on Jan 11, 2018 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 on Jan 5, 2018 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 on Nov 16, 2017 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 on Aug 23, 2017 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 on Apr 27, 2017 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 on Jan 16, 2017 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.