🤑 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
  • David Jensen
    David Jensen
    6,339 Points

    Is there any easy way to find the correct answer when I can't figure it out (e.g. answer key or something like that)?

    Posted March 2, 2017 8:21am by David Jensen
    David Jensen
    6,339 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Adding Events

    1 Answer

  • KORAXE IUHMAGEON
    PLUS
    KORAXE IUHMAGEON
    Courses Plus Student 8,486 Points

    I have no idea what I'm doing

    Posted June 29, 2016 9:40am by KORAXE IUHMAGEON
    KORAXE IUHMAGEON
    Courses Plus Student 8,486 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Adding Events

    2 Answers

  • Robbie Thomas
    Robbie Thomas
    31,093 Points

    Adding Events

    Posted June 27, 2016 12:27am by Robbie Thomas
    Robbie Thomas
    31,093 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Adding Events

    3 Answers

  • Thomas Katalenas
    Thomas Katalenas
    11,033 Points

    what am i doing wrong.

    Posted June 17, 2016 8:24pm by Thomas Katalenas
    Thomas Katalenas
    11,033 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Adding Events

    2 Answers

  • Brad Richardson
    PLUS
    Brad Richardson
    Courses Plus Student 1,843 Points

    What am i doing wrong here?

    Posted December 18, 2015 5:12pm by Brad Richardson
    Brad Richardson
    Courses Plus Student 1,843 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Adding Events

    1 Answer

  • fabio sarcon
    fabio sarcon
    4,410 Points

    Not Work

    Posted October 22, 2015 7:09am by fabio sarcon
    fabio sarcon
    4,410 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Adding Events

    3 Answers

  • Iulia Mihet
    Iulia Mihet
    5,770 Points

    I wrote 3 different valid solutions in the coding challenge, and neither is accepted by the program. What to do?

    Posted October 20, 2015 8:06am by Iulia Mihet
    Iulia Mihet
    5,770 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Adding Events

    2 Answers

  • Justin Thomas
    Justin Thomas
    10,461 Points

    Please help I do not get this question!!

    Posted September 30, 2015 11:36pm by Justin Thomas
    Justin Thomas
    10,461 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Adding Events

    4 Answers

  • MUZ140569 Wiseman Vhenge
    MUZ140569 Wiseman Vhenge
    5,401 Points

    assign event handler

    Posted August 21, 2015 5:15pm by MUZ140569 Wiseman Vhenge
    MUZ140569 Wiseman Vhenge
    5,401 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Adding Events

    2 Answers

  • Andre Oosterman
    Andre Oosterman
    12,861 Points

    My answer to this question is: sayButton.click(greeting) { }); Not sure why my code does not work. Anybody?

    Posted August 17, 2015 3:21pm by Andre Oosterman
    Andre Oosterman
    12,861 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Adding Events

    2 Answers

  • Donald Richmond
    Donald Richmond
    13,807 Points

    'assign the greeting event handler to the click event on the sayButton.' What am I supposed to enter here??

    Posted July 5, 2015 9:52pm by Donald Richmond
    Donald Richmond
    13,807 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Adding Events

    2 Answers

  • Jerry Schrader
    Jerry Schrader
    4,396 Points

    This is not working sayButton.onClick = greeting;

    Posted March 6, 2015 2:09pm by Jerry Schrader
    Jerry Schrader
    4,396 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Adding Events

    3 Answers

  • mickey Odunikan
    mickey Odunikan
    4,983 Points

    SOOOOOOO confused

    Posted January 17, 2015 10:13pm by mickey Odunikan
    mickey Odunikan
    4,983 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Adding Events

    1 Answer

  • Elizabeth Hammock
    Elizabeth Hammock
    6,674 Points

    After line 4 in the app.js file, assign the greeting event handler to the click event on the sayButton.

    Posted January 9, 2015 7:29pm by Elizabeth Hammock
    Elizabeth Hammock
    6,674 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Adding Events

    3 Answers

  • Christian Kristoffersen
    Christian Kristoffersen
    32,531 Points

    Can't get through the challenge?!

    Posted January 3, 2015 9:44pm by Christian Kristoffersen
    Christian Kristoffersen
    32,531 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Adding Events

    2 Answers

  • Adama Sy
    Adama Sy
    7,076 Points

    Javascript hard to understand

    Posted September 12, 2014 7:02pm by Adama Sy
    Adama Sy
    7,076 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Adding Events

    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.