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
  • 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,525 Points

    Challenge

    Posted July 22, 2019 2:51am by michael edmondson
    michael edmondson
    4,525 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.

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