Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • Emmanuel Appiah
    Emmanuel Appiah
    8,611 Points

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

    Posted May 10, 2022 4:27pm 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,136 Points

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

    Posted December 31, 2021 12:08am by karan Badhwar
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,136 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 October 24, 2019 8:27pm 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 April 18, 2019 8:46pm 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 June 27, 2018 8:05pm 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 January 21, 2018 3:47pm 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 October 27, 2017 6:29pm 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 October 25, 2017 4:33pm 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 July 7, 2017 1:52am 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 June 12, 2017 4:27pm 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 May 2, 2017 3:27pm 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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord