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
  • Matt Davis
    Matt Davis
    13,372 Points

    Why is the status of the rooms not showing?

    Posted March 7, 2019 7:53pm by Matt Davis
    Matt Davis
    13,372 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    1 Answer

  • Nermin Kekic
    Nermin Kekic
    6,971 Points

    Unable to get this code to display html?

    Posted August 16, 2018 4:58pm by Nermin Kekic
    Nermin Kekic
    6,971 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    1 Answer

  • Tom Rooker
    Tom Rooker
    4,531 Points

    I like this course but isn't the material out of date?

    Posted July 30, 2018 8:33pm by Tom Rooker
    Tom Rooker
    4,531 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    1 Answer

  • Pitrov Secondary
    Pitrov Secondary
    5,121 Points

    I don't understand what is happening

    Posted May 17, 2018 3:04pm by Pitrov Secondary
    Pitrov Secondary
    5,121 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    1 Answer

  • Pitrov Secondary
    Pitrov Secondary
    5,121 Points

    When I make a new XMLHttpRequest, Do I have to make a new name to my variable?

    Posted May 14, 2018 8:01pm by Pitrov Secondary
    Pitrov Secondary
    5,121 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    2 Answers

  • Manuel Rohrbach
    Manuel Rohrbach
    3,152 Points

    Why is the declaration of variable 'var' in the ajax course used? Why not 'let'?

    Posted January 12, 2018 11:06am by Manuel Rohrbach
    Manuel Rohrbach
    3,152 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    1 Answer

  • Akash Sharma
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Akash Sharma
    Full Stack JavaScript Techdegree Student 14,147 Points

    Cannot display the ::before css on code

    Posted November 14, 2017 12:43am by Akash Sharma
    .a{fill-rule:evenodd;}techdegree
    Akash Sharma
    Full Stack JavaScript Techdegree Student 14,147 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    1 Answer

  • amirbizimana
    amirbizimana
    9,639 Points

    Code where art thou ?

    Posted May 21, 2017 5:53am by amirbizimana
    amirbizimana
    9,639 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    2 Answers

  • S Ananda
    S Ananda
    9,474 Points

    Get room numbers, but no status.

    Posted March 17, 2017 3:21pm by S Ananda
    S Ananda
    9,474 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    4 Answers

  • Bruno Dias
    Bruno Dias
    10,554 Points

    Can I create a callback function last?

    Posted April 29, 2016 1:43pm by Bruno Dias
    Bruno Dias
    10,554 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    1 Answer

  • James Kim
    James Kim
    11,918 Points

    Code Not Showing

    Posted April 4, 2016 3:15am by James Kim
    James Kim
    11,918 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    3 Answers

  • Leon Segal
    Leon Segal
    14,754 Points

    Not working due to function scope problem...I think

    Posted February 18, 2016 6:26pm by Leon Segal
    Leon Segal
    14,754 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    3 Answers

  • Ram Iyer
    Ram Iyer
    9,116 Points

    What triggers the xhr.send() ?

    Posted January 30, 2016 8:45am by Ram Iyer
    Ram Iyer
    9,116 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    1 Answer

  • Chetan Jaisinghani
    Chetan Jaisinghani
    2,896 Points

    Only 1 AJAX request is processed

    Posted January 2, 2016 12:14pm by Chetan Jaisinghani
    Chetan Jaisinghani
    2,896 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    3 Answers

  • Franklin Colbert
    Franklin Colbert
    4,868 Points

    My XHR request seems to be opening the wrong file

    Posted November 30, 2015 1:50pm by Franklin Colbert
    Franklin Colbert
    4,868 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    2 Answers

  • Chris Reich
    Chris Reich
    15,163 Points

    What does roomstatusHTML += '<li class="empty">; do?

    Posted November 18, 2015 6:09pm by Chris Reich
    Chris Reich
    15,163 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    2 Answers

  • Aaron Coursolle
    Aaron Coursolle
    18,014 Points

    What does "anonymous function" mean when in the context of the console?

    Posted September 19, 2015 12:40am by Aaron Coursolle
    Aaron Coursolle
    18,014 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    0 Answers

  • slxmclxtds
    slxmclxtds
    37,677 Points

    Getting Reusable Function to Work

    Posted August 22, 2015 1:47pm by slxmclxtds
    slxmclxtds
    37,677 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    3 Answers

  • Tristan Terry
    Tristan Terry
    9,044 Points

    Everything is working except my code is all showing up as false, what am I missing?

    Posted June 14, 2015 5:38am by Tristan Terry
    Tristan Terry
    9,044 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    0 Answers

  • Brett Cunningham
    Brett Cunningham
    3,251 Points

    why is my code is producing list items that are undefined? I believe there is something wrong with my rooms[i].available

    Posted April 10, 2015 2:17pm by Brett Cunningham
    Brett Cunningham
    3,251 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    2 Answers

  • christephens
    christephens
    9,470 Points

    Do more of this please

    Posted December 2, 2014 2:37am by christephens
    christephens
    9,470 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    11 Answers

  • balraj sarai
    balraj sarai
    6,303 Points

    programming AJAX

    Posted September 30, 2014 12:28pm by balraj sarai
    balraj sarai
    6,303 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    1 Answer

  • KREATIVE LLC.
    PLUS
    KREATIVE LLC.
    Courses Plus Student 14,143 Points

    Incorrect URL for JSON data?

    Posted September 11, 2014 6:41pm by KREATIVE LLC.
    KREATIVE LLC.
    Courses Plus Student 14,143 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    5 Answers

  • Mauro Bonucci
    Mauro Bonucci
    5,953 Points

    Intranet In and Out Office

    Posted July 8, 2014 4:12pm by Mauro Bonucci
    Mauro Bonucci
    5,953 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • Stage 2 Challenge

    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