🤑 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
  • Hannah Cherba
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Hannah Cherba
    Front End Web Development Techdegree Graduate 14,319 Points

    Both buttons appear, but edit button won't post to console

    Posted January 13, 2023 7:57pm by Hannah Cherba
    .a{fill-rule:evenodd;}techdegree seal-36
    Hannah Cherba
    Front End Web Development Techdegree Graduate 14,319 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    1 Answer

  • Kade Rathbun
    Kade Rathbun
    6,586 Points

    Writing if statement this way?

    Posted August 3, 2022 9:08pm by Kade Rathbun
    Kade Rathbun
    6,586 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    1 Answer

  • Tyler McDonald
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Tyler McDonald
    Full Stack JavaScript Techdegree Graduate 16,700 Points

    Declaring constants in the edit/remove buttons event handler

    Posted May 7, 2022 1:19am by Tyler McDonald
    .a{fill-rule:evenodd;}techdegree seal-36
    Tyler McDonald
    Full Stack JavaScript Techdegree Graduate 16,700 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    1 Answer

  • James Crouse
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    James Crouse
    Full Stack JavaScript Techdegree Student 3,289 Points

    Buttons stopped working

    Posted September 30, 2021 4:26pm by James Crouse
    .a{fill-rule:evenodd;}techdegree
    James Crouse
    Full Stack JavaScript Techdegree Student 3,289 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    1 Answer

  • Calvin Luo
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Calvin Luo
    Full Stack JavaScript Techdegree Student 11,952 Points

    Where the button is located

    Posted June 20, 2021 7:27pm by Calvin Luo
    .a{fill-rule:evenodd;}techdegree
    Calvin Luo
    Full Stack JavaScript Techdegree Student 11,952 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    1 Answer

  • Karl Russell Sumando Menil
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Karl Russell Sumando Menil
    Full Stack JavaScript Techdegree Student 4,004 Points

    my workspace is not working but when i check visual studio code it works, what should i do?

    Posted February 17, 2021 4:54am by Karl Russell Sumando Menil
    .a{fill-rule:evenodd;}techdegree
    Karl Russell Sumando Menil
    Full Stack JavaScript Techdegree Student 4,004 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    0 Answers

  • Jamie Gobeille
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Jamie Gobeille
    Full Stack JavaScript Techdegree Graduate 19,573 Points

    Alternative solution

    Posted October 13, 2019 12:33am by Jamie Gobeille
    .a{fill-rule:evenodd;}techdegree seal-36
    Jamie Gobeille
    Full Stack JavaScript Techdegree Graduate 19,573 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    1 Answer

  • <noob />
    <noob />
    17,063 Points

    further explanation of the use of the e.target.

    Posted July 12, 2019 1:14pm by <noob />
    <noob />
    17,063 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    1 Answer

  • Hamzah Iqbal
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Hamzah Iqbal
    Full Stack JavaScript Techdegree Student 329 Points

    The remove button, stopped working all of a sudden. Can´t seem to understand why?

    Posted March 17, 2019 6:56pm by Hamzah Iqbal
    .a{fill-rule:evenodd;}techdegree
    Hamzah Iqbal
    Full Stack JavaScript Techdegree Student 329 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    1 Answer

  • Colin Sandlin
    Colin Sandlin
    4,512 Points

    Can't get my edit button to log to console

    Posted February 28, 2019 10:49pm by Colin Sandlin
    Colin Sandlin
    4,512 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    2 Answers

  • Nicholas Wallen
    Nicholas Wallen
    12,278 Points

    Within the ul event listener, why is li referred to as a parent of ul? Isn't it the opposite?

    Posted September 13, 2018 11:20pm by Nicholas Wallen
    Nicholas Wallen
    12,278 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    4 Answers

  • Nicholas Smay
    Nicholas Smay
    14,768 Points

    What does the "e" parameter located in the event listener do?

    Posted September 5, 2018 9:08pm by Nicholas Smay
    Nicholas Smay
    14,768 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    1 Answer

  • Kevin Nunley
    Kevin Nunley
    5,373 Points

    Why wouldn't we just give the edit and remove buttons classes and check for that?

    Posted August 17, 2018 1:22pm by Kevin Nunley
    Kevin Nunley
    5,373 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    1 Answer

  • Arnold Nunez
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Arnold Nunez
    Front End Web Development Techdegree Student 9,494 Points

    Why don't my buttons work?

    Posted March 5, 2018 11:30pm by Arnold Nunez
    .a{fill-rule:evenodd;}techdegree
    Arnold Nunez
    Front End Web Development Techdegree Student 9,494 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    2 Answers

  • paulscanlon
    PLUS
    paulscanlon
    Courses Plus Student 26,735 Points

    Bad Practice?

    Posted August 16, 2017 6:01pm by paulscanlon
    paulscanlon
    Courses Plus Student 26,735 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    4 Answers

  • shirshah sahel
    shirshah sahel
    10,035 Points

    My edit and remove buttons are not working.

    Posted August 13, 2017 7:51pm by shirshah sahel
    shirshah sahel
    10,035 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    3 Answers

  • Susan Rusie
    Susan Rusie
    10,671 Points

    What is going on with my application?

    Posted July 4, 2017 10:24pm by Susan Rusie
    Susan Rusie
    10,671 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    2 Answers

  • cyber voyager
    cyber voyager
    8,859 Points

    Scope related question, return explanation

    Posted May 24, 2017 6:06pm by cyber voyager
    cyber voyager
    8,859 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    2 Answers

  • Luca Di Pinto
    Luca Di Pinto
    8,051 Points

    Why do we use "else if" and not "else"?

    Posted March 6, 2017 9:40pm by Luca Di Pinto
    Luca Di Pinto
    8,051 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    3 Answers

  • Nick Wilson
    Nick Wilson
    5,060 Points

    I don't understand a couple things.

    Posted February 24, 2017 3:59pm by Nick Wilson
    Nick Wilson
    5,060 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    4 Answers

  • Sam Finn
    Sam Finn
    868 Points

    if statement for button event handler

    Posted January 18, 2017 5:56am by Sam Finn
    Sam Finn
    868 Points
    • JavaScript
    • DOM Scripting By Example
    • Editing and Filtering Names
    • States of the Application

    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.