🤑 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
  • jason limmm
    jason limmm
    8,009 Points

    need help with this challenge

    Posted August 10, 2024 4:39am by jason limmm
    jason limmm
    8,009 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    1 Answer

  • Adlan Ilyasov
    Adlan Ilyasov
    2,476 Points

    Im kinda lost on this one. Anyone can throw in a few examples and hints?

    Posted November 23, 2022 2:24am by Adlan Ilyasov
    Adlan Ilyasov
    2,476 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    2 Answers

  • Patrick Thomas
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Patrick Thomas
    Full Stack JavaScript Techdegree Student 3,529 Points

    So, I am wondering do I need to delete the submitButton element?

    Posted July 26, 2022 1:41pm by Patrick Thomas
    .a{fill-rule:evenodd;}techdegree
    Patrick Thomas
    Full Stack JavaScript Techdegree Student 3,529 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    1 Answer

  • Khaled Kadri
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Khaled Kadri
    Web Development Techdegree Student 6,756 Points

    Dom Scripting Challenge task 2/2

    Posted March 20, 2022 4:17am by Khaled Kadri
    .a{fill-rule:evenodd;}techdegree
    Khaled Kadri
    Web Development Techdegree Student 6,756 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    1 Answer

  • ramy rahmiel
    ramy rahmiel
    11,797 Points

    what is wrong with my code?

    Posted May 1, 2020 12:53pm by ramy rahmiel
    ramy rahmiel
    11,797 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    2 Answers

  • Olive Bamurange
    Olive Bamurange
    5,174 Points

    Hi there! This challenge keeps asking to addEventListener to form and I think there is one. help me please!

    Posted October 30, 2019 4:29pm by Olive Bamurange
    Olive Bamurange
    5,174 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    2 Answers

  • salahuddin Sediqi
    salahuddin Sediqi
    3,410 Points

    Hello Everyone, I really didn't understand, why should we write (e) paramater inside function?

    Posted March 28, 2019 4:28pm by salahuddin Sediqi
    salahuddin Sediqi
    3,410 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    2 Answers

  • Emily DeWitt
    Emily DeWitt
    4,210 Points

    Why am I getting the message "You didn't use addEventListener on the form." when it is definitely on the form?

    Posted February 18, 2019 4:53pm by Emily DeWitt
    Emily DeWitt
    4,210 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    1 Answer

  • Zaria Sellers
    Zaria Sellers
    3,536 Points

    help please!!!!!

    Posted February 7, 2019 10:54pm by Zaria Sellers
    Zaria Sellers
    3,536 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    1 Answer

  • patrick shangala
    patrick shangala
    6,217 Points

    can't understand the question someone to help me out with this problem

    Posted August 9, 2018 8:20am by patrick shangala
    patrick shangala
    6,217 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    2 Answers

  • Seth Pabst
    Seth Pabst
    10,285 Points

    I have no clue what the question is asking??

    Posted June 2, 2018 2:41am by Seth Pabst
    Seth Pabst
    10,285 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    1 Answer

  • Ali Sh
    Ali Sh
    2,026 Points

    What does the challenge need??

    Posted May 10, 2018 11:04pm by Ali Sh
    Ali Sh
    2,026 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    1 Answer

  • Prerna Jena
    Prerna Jena
    384 Points

    Alter the event handler

    Posted February 2, 2018 12:12pm by Prerna Jena
    Prerna Jena
    384 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    4 Answers

  • steve thomas
    steve thomas
    9,753 Points

    Challenge Task 2 of 2 Using the event object, ensure that the brower will not submit

    Posted July 21, 2017 1:48am by steve thomas
    steve thomas
    9,753 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    1 Answer

  • Keno Aguiar
    Keno Aguiar
    4,741 Points

    This is weird

    Posted June 2, 2017 11:46pm by Keno Aguiar
    Keno Aguiar
    4,741 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    2 Answers

  • Sridhar Rameshwaram
    Sridhar Rameshwaram
    934 Points

    Am getting this error - You didn't use addEventListener on the form - though am using button with Submit value

    Posted May 9, 2017 2:39am by Sridhar Rameshwaram
    Sridhar Rameshwaram
    934 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    1 Answer

  • Alexisca hall
    Alexisca hall
    23,683 Points

    Alter the callback function to use the event object. Using the event object, ensure that the browser's default form subm

    Posted March 20, 2017 1:31pm by Alexisca hall
    Alexisca hall
    23,683 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    1 Answer

  • Alexisca hall
    Alexisca hall
    23,683 Points

    Alter the callback function to use the event object. Using the event object, ensure that the browser's default form subm

    Posted March 17, 2017 3:47pm by Alexisca hall
    Alexisca hall
    23,683 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    3 Answers

  • manasa sharma
    manasa sharma
    380 Points

    how do i alter the event Handler when form is submitted

    Posted March 17, 2017 4:22am by manasa sharma
    manasa sharma
    380 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    1 Answer

  • Matthew Hung
    Matthew Hung
    3,066 Points

    Using the submit Event

    Posted February 28, 2017 7:18pm by Matthew Hung
    Matthew Hung
    3,066 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    2 Answers

  • Alexisca hall
    Alexisca hall
    23,683 Points

    Alter the event handler on line 4 to run when the form is submitted, not just when the submit button has been clicked. L

    Posted February 13, 2017 5:44pm by Alexisca hall
    Alexisca hall
    23,683 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    3 Answers

  • shobha gunupuru
    shobha gunupuru
    1,137 Points

    Alter the event handler on line 4 to run when the form is submitted, not just when the submit button has been clicked. L

    Posted January 25, 2017 9:53pm by shobha gunupuru
    shobha gunupuru
    1,137 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Using the submit Event

    5 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.