🤑 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
  • zkb
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    zkb
    Front End Web Development Techdegree Graduate 13,636 Points

    Where am I going wrong with my code???

    Posted November 29, 2022 6:58am by zkb
    .a{fill-rule:evenodd;}techdegree seal-36
    zkb
    Front End Web Development Techdegree Graduate 13,636 Points
    • JavaScript
    • Callback Functions in JavaScript
    • Callbacks and the DOM
    • Callbacks with DOM Elements

    1 Answer

  • Sean Modd
    Sean Modd
    4,688 Points

    Goal: Apply the spinElement callback to btn1, btn2, and btn3. The spinElement function should trigger on click event!

    Posted October 7, 2020 4:43pm by Sean Modd
    Sean Modd
    4,688 Points
    • JavaScript
    • Callback Functions in JavaScript
    • Callbacks and the DOM
    • Callbacks with DOM Elements

    2 Answers

  • Jaime Sanchez
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Jaime Sanchez
    Full Stack JavaScript Techdegree Student 12,431 Points

    callbacks with dom elements challenge task 1 help?

    Posted April 1, 2020 4:47am by Jaime Sanchez
    .a{fill-rule:evenodd;}techdegree
    Jaime Sanchez
    Full Stack JavaScript Techdegree Student 12,431 Points
    • JavaScript
    • Callback Functions in JavaScript
    • Callbacks and the DOM
    • Callbacks with DOM Elements

    1 Answer

  • Khumoyunmirzo Nosirov
    Khumoyunmirzo Nosirov
    8,689 Points

    I couldn't find the error , can Anyone help me?

    Posted March 12, 2019 12:56pm by Khumoyunmirzo Nosirov
    Khumoyunmirzo Nosirov
    8,689 Points
    • JavaScript
    • Callback Functions in JavaScript
    • Callbacks and the DOM
    • Callbacks with DOM Elements

    2 Answers

  • John Locken
    John Locken
    16,540 Points

    Attempting to streamline final task in Callback Functions in JavaScript

    Posted January 30, 2019 11:21pm by John Locken
    John Locken
    16,540 Points
    • JavaScript
    • Callback Functions in JavaScript
    • Callbacks and the DOM
    • Callbacks with DOM Elements

    1 Answer

  • Petya Katsarova
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Petya Katsarova
    Front End Web Development Techdegree Graduate 21,342 Points

    i cant figure out the way

    Posted December 7, 2018 8:28am by Petya Katsarova
    .a{fill-rule:evenodd;}techdegree seal-36
    Petya Katsarova
    Front End Web Development Techdegree Graduate 21,342 Points
    • JavaScript
    • Callback Functions in JavaScript
    • Callbacks and the DOM
    • Callbacks with DOM Elements

    1 Answer

  • Zak Mosbacher
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Zak Mosbacher
    Full Stack JavaScript Techdegree Graduate 16,080 Points

    There was an error with your code: TypeError: 'undefined' is not an object (evaluating 'event.target.className = "spin"'

    Posted December 5, 2018 1:32am by Zak Mosbacher
    .a{fill-rule:evenodd;}techdegree seal-36
    Zak Mosbacher
    Full Stack JavaScript Techdegree Graduate 16,080 Points
    • JavaScript
    • Callback Functions in JavaScript
    • Callbacks and the DOM
    • Callbacks with DOM Elements

    1 Answer

  • codingchewie
    codingchewie
    8,764 Points

    Can D.R.Y be implemented further on the callback?

    Posted September 7, 2018 3:08pm by codingchewie
    codingchewie
    8,764 Points
    • JavaScript
    • Callback Functions in JavaScript
    • Callbacks and the DOM
    • Callbacks with DOM Elements

    1 Answer

  • Cristian Gerardo Hernandez Barrios
    Cristian Gerardo Hernandez Barrios
    28,382 Points

    I'm stuck again

    Posted July 19, 2017 4:40pm by Cristian Gerardo Hernandez Barrios
    Cristian Gerardo Hernandez Barrios
    28,382 Points
    • JavaScript
    • Callback Functions in JavaScript
    • Callbacks and the DOM
    • Callbacks with DOM Elements

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