Skip to main content

🛍️ BLACK FRIDAY get-one-give-one sale is underway. Don't miss $50 off PLUS a free subscription to gift a friend. 🤩

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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
  • Dustin Henry
    Dustin Henry
    7,392 Points

    Why do we do xhr.onreadystatechange = function instead of xhr.onreadystatechange(function)?

    Posted June 28, 2018 2:53pm by Dustin Henry
    Dustin Henry
    7,392 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    1 Answer

  • Noah Fields
    Noah Fields
    13,985 Points

    What if we get a status of 304(Not Modified)?

    Posted December 27, 2017 7:03pm by Noah Fields
    Noah Fields
    13,985 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    1 Answer

  • d4rk5un
    d4rk5un
    2,771 Points

    Create callback function challenge

    Posted October 12, 2017 12:52pm by d4rk5un
    d4rk5un
    2,771 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    2 Answers

  • Sergi Oca
    Sergi Oca
    7,981 Points

    Thank you for this course.

    Posted November 16, 2016 9:06am by Sergi Oca
    Sergi Oca
    7,981 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    0 Answers

  • James Barrett
    James Barrett
    13,253 Points

    Why are we using a nested if statement for the HTTP response?

    Posted March 31, 2016 12:50pm by James Barrett
    James Barrett
    13,253 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    2 Answers

  • Maria Campbell
    Maria Campbell
    8,641 Points

    My alert for statusText worked, but it didn't return any text. Why is that?

    Posted March 6, 2016 6:43pm by Maria Campbell
    Maria Campbell
    8,641 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    3 Answers

  • Giovanni Valdenegro
    Giovanni Valdenegro
    13,871 Points

    Modified if statement

    Posted April 24, 2015 8:19pm by Giovanni Valdenegro
    Giovanni Valdenegro
    13,871 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    3 Answers

  • Maureen O'Neal
    Maureen O'Neal
    12,930 Points

    Ajax callback challenge 3 of 4

    Posted February 14, 2015 5:26am by Maureen O'Neal
    Maureen O'Neal
    12,930 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    2 Answers

  • Ryan Hellerud
    Ryan Hellerud
    3,635 Points

    call back function and changestate event question

    Posted January 7, 2015 11:06pm by Ryan Hellerud
    Ryan Hellerud
    3,635 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    2 Answers

  • Adam Kelm
    Adam Kelm
    29,082 Points

    Where's the Workspace for this project?

    Posted October 30, 2014 6:30pm by Adam Kelm
    Adam Kelm
    29,082 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    8 Answers

  • Ben Stevenson
    Ben Stevenson
    9,360 Points

    AJAX requests don't seem to work via workspaces. I'm following the code as per the "AJAX Callbacks" video. Any ideas?

    Posted October 17, 2014 2:59pm by Ben Stevenson
    Ben Stevenson
    9,360 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    1 Answer

  • Guillermo Gomez
    Guillermo Gomez
    7,413 Points

    Workspace is retrieving the index.html if the file doesn't exist

    Posted October 4, 2014 4:23pm by Guillermo Gomez
    Guillermo Gomez
    7,413 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    2 Answers

  • Donnie Reese
    Donnie Reese
    17,211 Points

    I am getting the contents of the index.html when I put in a non-existing filename.

    Posted September 17, 2014 1:46am by Donnie Reese
    Donnie Reese
    17,211 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    2 Answers

  • John Weland
    John Weland
    42,478 Points

    AJAX Callbacks, it loops

    Posted September 10, 2014 4:08pm by John Weland
    John Weland
    42,478 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    2 Answers

  • Phillip Legault
    PLUS
    Phillip Legault
    Courses Plus Student 18,888 Points

    I'm getting a message only 10 work spaces allowed for this account.

    Posted July 3, 2014 11:20am by Phillip Legault
    Phillip Legault
    Courses Plus Student 18,888 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    3 Answers

  • Hassan Al-ubeidi
    PLUS
    Hassan Al-ubeidi
    Courses Plus Student 6,035 Points

    Workspace not showing all files

    Posted July 1, 2014 8:41am by Hassan Al-ubeidi
    Hassan Al-ubeidi
    Courses Plus Student 6,035 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    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