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

🤑 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

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

  • 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
    • Saving Names
    • Close
  • Emmanuel Appiah
    Emmanuel Appiah
    8,611 Points

    When I press the save button after editing the text disappears.

    Posted on May 10, 2022 by Emmanuel Appiah
    Emmanuel Appiah
    8,611 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Saving Names

    1 Answer

  • karan Badhwar
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,135 Points

    Why my code is not working and is it an ok way to write this solution

    Posted on Dec 31, 2021 by karan Badhwar
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,135 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Saving Names

    1 Answer

  • Caleb Hasch
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Caleb Hasch
    Full Stack JavaScript Techdegree Graduate 16,351 Points

    Help with edit/save button

    Posted on Oct 24, 2019 by Caleb Hasch
    .a{fill-rule:evenodd;}techdegree seal-36
    Caleb Hasch
    Full Stack JavaScript Techdegree Graduate 16,351 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Saving Names

    1 Answer

  • Israel Hernandez
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Israel Hernandez
    Full Stack JavaScript Techdegree Student 3,947 Points

    Why do we need the li.insertBefore(span, input); ?

    Posted on Apr 18, 2019 by Israel Hernandez
    .a{fill-rule:evenodd;}techdegree
    Israel Hernandez
    Full Stack JavaScript Techdegree Student 3,947 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Saving Names

    2 Answers

  • Greg Schudel
    Greg Schudel
    4,090 Points

    Why element is not being removed??

    Posted on Jun 27, 2018 by Greg Schudel
    Greg Schudel
    4,090 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Saving Names

    3 Answers

  • Pavel Rogulin
    Pavel Rogulin
    5,036 Points

    Cancel button

    Posted on Jan 21, 2018 by Pavel Rogulin
    Pavel Rogulin
    5,036 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Saving Names

    3 Answers

  • Jesse Thompson
    Jesse Thompson
    10,684 Points

    Im a little confused with the logic that is occuring

    Posted on Oct 27, 2017 by Jesse Thompson
    Jesse Thompson
    10,684 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Saving Names

    1 Answer

  • armand Rodriguez
    armand Rodriguez
    7,830 Points

    Any drawbacks to alternative method

    Posted on Oct 25, 2017 by armand Rodriguez
    armand Rodriguez
    7,830 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Saving Names

    1 Answer

  • Susan Rusie
    Susan Rusie
    10,671 Points

    Not sure what is wrong with this code for Fixing the DOM Manipulation Code Challenge. Please Help!

    Posted on Jul 7, 2017 by Susan Rusie
    Susan Rusie
    10,671 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Saving Names

    2 Answers

  • jlampstack
    jlampstack
    23,932 Points

    How would we change the save so that the event handler is on 'submit'

    Posted on Jun 12, 2017 by jlampstack
    jlampstack
    23,932 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Saving Names

    3 Answers

  • Dejan Antic
    Dejan Antic
    4,309 Points

    Why are we re-declaring the input and the span variables in the second if else statement?

    Posted on May 2, 2017 by Dejan Antic
    Dejan Antic
    4,309 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • Saving Names

    3 Answers

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.