🤑 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
    • Adding and Removing Names
    • Practice with Function Scope
    • Close
  • Alexandru Pescaru
    Alexandru Pescaru
    6,410 Points

    can anyone help me with the corect code ai can figure iti out...

    Posted on Jul 21, 2020 by Alexandru Pescaru
    Alexandru Pescaru
    6,410 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Practice with Function Scope

    2 Answers

  • Alexandru Pescaru
    Alexandru Pescaru
    6,410 Points

    can anyone help me m'm lost...

    Posted on Jul 9, 2020 by Alexandru Pescaru
    Alexandru Pescaru
    6,410 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Practice with Function Scope

    1 Answer

  • Anthony Smith
    Anthony Smith
    9,897 Points

    How to alter the javascript code without adding any lines to the blue button's event handler?

    Posted on Feb 28, 2020 by Anthony Smith
    Anthony Smith
    9,897 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Practice with Function Scope

    1 Answer

  • Thomas H
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Thomas H
    Full Stack JavaScript Techdegree Student 4,545 Points

    practice with function scope

    Posted on Oct 20, 2019 by Thomas H
    .a{fill-rule:evenodd;}techdegree
    Thomas H
    Full Stack JavaScript Techdegree Student 4,545 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Practice with Function Scope

    2 Answers

  • michael edmondson
    michael edmondson
    4,512 Points

    Challenge

    Posted on Jul 22, 2019 by michael edmondson
    michael edmondson
    4,512 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Practice with Function Scope

    1 Answer

  • Humoyunmirzo Nosirov
    PLUS
    Humoyunmirzo Nosirov
    Courses Plus Student 5,154 Points

    I am just stuck

    Posted on Aug 11, 2018 by Humoyunmirzo Nosirov
    Humoyunmirzo Nosirov
    Courses Plus Student 5,154 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Practice with Function Scope

    2 Answers

  • Prerna Jena
    Prerna Jena
    384 Points

    Example

    Posted on Feb 2, 2018 by Prerna Jena
    Prerna Jena
    384 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Practice with Function Scope

    2 Answers

  • shirshah sahel
    shirshah sahel
    10,035 Points

    thediv with the ID colorDiv should change red when the red button is clicked, and blue when the blue button is clicked.

    Posted on Aug 11, 2017 by shirshah sahel
    shirshah sahel
    10,035 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Practice with Function Scope

    3 Answers

  • Philip Valentini
    Philip Valentini
    3,448 Points

    Can anyone help with this problem please?

    Posted on Apr 24, 2017 by Philip Valentini
    Philip Valentini
    3,448 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Practice with Function Scope

    2 Answers

  • Amanda Nkosiyane
    Amanda Nkosiyane
    432 Points

    The div with the ID colorDiv should change red when the red button is clicked, and blue when the blue button is clicked.

    Posted on Mar 15, 2017 by Amanda Nkosiyane
    Amanda Nkosiyane
    432 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Practice with Function Scope

    2 Answers

  • Victor Gentile
    Victor Gentile
    4,996 Points

    RSVP Web page adding class 'responded' to listItem adds CSS in chrome but not in firefox, curious, why?

    Posted on Mar 12, 2017 by Victor Gentile
    Victor Gentile
    4,996 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Practice with Function Scope

    2 Answers

  • Polo Moreno
    Polo Moreno
    11,782 Points

    I have a dude in this challenge

    Posted on Jan 12, 2017 by Polo Moreno
    Polo Moreno
    11,782 Points
    • JavaScript
    • DOM Scripting By Example
    • Adding and Removing Names
    • Practice with Function Scope

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