🤑 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
  • Alexandru Pescaru
    Alexandru Pescaru
    6,410 Points

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

    Posted July 21, 2020 3:11pm 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 July 9, 2020 7:54am 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 February 28, 2020 8:28pm 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 October 20, 2019 10:21am 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 July 22, 2019 2:51am 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 August 11, 2018 10:09am 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 February 2, 2018 2:41pm 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 August 11, 2017 9:19pm 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 April 24, 2017 5:27pm 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 March 15, 2017 9:44am 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 March 12, 2017 11:01pm 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 January 12, 2017 12:31am 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.