🤑 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
  • Learning Coding
    Learning Coding
    7,134 Points

    Clarification about console.log

    Posted December 26, 2016 10:34pm by Learning Coding
    Learning Coding
    7,134 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    1 Answer

  • debbie williams
    debbie williams
    7,801 Points

    Perform: Event Handling

    Posted April 22, 2016 6:21pm by debbie williams
    debbie williams
    7,801 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    1 Answer

  • Ivan A.
    Ivan A.
    9,627 Points

    After JQuery....

    Posted April 11, 2016 6:09pm by Ivan A.
    Ivan A.
    9,627 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    8 Answers

  • john larson
    john larson
    16,594 Points

    I'm not fond of the MDN documentaion...

    Posted April 6, 2016 12:56am by john larson
    john larson
    16,594 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    1 Answer

  • John Coolidge
    John Coolidge
    12,614 Points

    I don't understand event handling, any resources?

    Posted August 25, 2015 12:48pm by John Coolidge
    John Coolidge
    12,614 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    4 Answers

  • Nick Tolbert
    Nick Tolbert
    12,003 Points

    [RESOLVED]the addTask function is not running the console.log when addButton is click

    Posted July 14, 2015 5:12pm by Nick Tolbert
    Nick Tolbert
    12,003 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    2 Answers

  • Grace Kelly
    Grace Kelly
    33,990 Points

    Why does addTask() load the function straight away even with an onclick event handler?

    Posted June 27, 2015 3:59pm by Grace Kelly
    Grace Kelly
    33,990 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    1 Answer

  • Dan Putnam
    Dan Putnam
    5,045 Points

    Does a var that is set = to an object 'become' that object?

    Posted June 9, 2015 4:47pm by Dan Putnam
    Dan Putnam
    5,045 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    3 Answers

  • Phong Pham
    Phong Pham
    8,217 Points

    What's the difference between .click() and .onclick()?

    Posted May 27, 2015 1:20pm by Phong Pham
    Phong Pham
    8,217 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    4 Answers

  • Johnny Lopez
    Johnny Lopez
    4,643 Points

    differences of function declarations?

    Posted March 25, 2015 3:47pm by Johnny Lopez
    Johnny Lopez
    4,643 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    3 Answers

  • Tamás Vörös
    Tamás Vörös
    5,413 Points

    The app.js file is blank when I preview.

    Posted March 23, 2015 1:02am by Tamás Vörös
    Tamás Vörös
    5,413 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    1 Answer

  • Chuong Nguyen
    Chuong Nguyen
    8,256 Points

    Perform: Event Handling

    Posted March 9, 2015 5:49am by Chuong Nguyen
    Chuong Nguyen
    8,256 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    3 Answers

  • Ethan Rips
    Ethan Rips
    3,258 Points

    I can't get addButton recognized. I get an unexpected "(" message, but there's no error there. Pls advise.

    Posted February 19, 2015 1:42am by Ethan Rips
    Ethan Rips
    3,258 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    4 Answers

  • Chris Collier
    Chris Collier
    17,774 Points

    Can't get onclick event attached to add button/firing correctly

    Posted January 1, 2015 8:40pm by Chris Collier
    Chris Collier
    17,774 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    4 Answers

  • Gesang Lamu
    Gesang Lamu
    2,742 Points

    getElementByTagName give error in my console

    Posted December 7, 2014 11:40pm by Gesang Lamu
    Gesang Lamu
    2,742 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    1 Answer

  • Tony Brackins
    Tony Brackins
    28,766 Points

    Practicing Event Handler and assigning functions to event handlers.

    Posted December 1, 2014 10:42pm by Tony Brackins
    Tony Brackins
    28,766 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    1 Answer

  • Denis Saidov
    PLUS
    Denis Saidov
    Courses Plus Student 91 Points

    Not showing the log.

    Posted November 19, 2014 1:24pm by Denis Saidov
    Denis Saidov
    Courses Plus Student 91 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    3 Answers

  • David Jarrin
    PLUS
    David Jarrin
    Courses Plus Student 11,182 Points

    Uncaught TypeError: Cannot set property 'onclick' of undefined

    Posted October 23, 2014 7:11pm by David Jarrin
    David Jarrin
    Courses Plus Student 11,182 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    2 Answers

  • Kyle O'Brien
    Kyle O'Brien
    14,066 Points

    Why is my app.js totally blank through the workspace preview?

    Posted September 28, 2014 6:38pm by Kyle O'Brien
    Kyle O'Brien
    14,066 Points
    • JavaScript
    • Interactive Web Pages with JavaScript
    • Selecting Elements and Adding Events with JavaScript
    • Perform: Event Handling

    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.