Skip to main content

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

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

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
  • Ava Jones
    Ava Jones
    10,767 Points

    Getting a console error, please help!

    Posted November 7, 2023 10:00pm by Ava Jones
    Ava Jones
    10,767 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    3 Answers

  • Lars Johansen
    Lars Johansen
    8,334 Points

    The default work space does not work when calling getJSON(astrosUrl)

    Posted August 31, 2023 9:50am by Lars Johansen
    Lars Johansen
    8,334 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    2 Answers

  • michael apprich
    michael apprich
    9,989 Points

    Any easy work around for the http/https mixed content error?

    Posted June 27, 2023 4:06pm by michael apprich
    michael apprich
    9,989 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    2 Answers

  • JOE BELL
    JOE BELL
    11,322 Points

    xhr.send() error

    Posted February 19, 2023 9:54pm by JOE BELL
    JOE BELL
    11,322 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    0 Answers

  • Thomas Brouns
    Thomas Brouns
    2,607 Points

    getJSON(astrosUrl) appears undefined

    Posted November 8, 2022 8:46am by Thomas Brouns
    Thomas Brouns
    2,607 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    2 Answers

  • Sean Fallon
    Sean Fallon
    8,516 Points

    Pulling from wiki; how to pull from another site?

    Posted September 2, 2021 6:10pm by Sean Fallon
    Sean Fallon
    8,516 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    0 Answers

  • Alsaig Sandra
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Alsaig Sandra
    Front End Web Development Techdegree Graduate 15,434 Points

    Not understanding (json)

    Posted August 30, 2021 10:00am by Alsaig Sandra
    .a{fill-rule:evenodd;}techdegree seal-36
    Alsaig Sandra
    Front End Web Development Techdegree Graduate 15,434 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    1 Answer

  • Jane XU
    Jane XU
    3,153 Points

    let x=getJSON(astrosUrl); console.log(x); appears undefine?

    Posted July 17, 2021 4:50pm by Jane XU
    Jane XU
    3,153 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    0 Answers

  • jun cheng wong
    jun cheng wong
    17,021 Points

    clarification on array.map()

    Posted May 24, 2021 8:53am by jun cheng wong
    jun cheng wong
    17,021 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    1 Answer

  • Junior Aidee
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Junior Aidee
    Front End Web Development Techdegree Graduate 14,657 Points

    Why did we have to write an arrow function for the below?

    Posted November 18, 2020 8:58pm by Junior Aidee
    .a{fill-rule:evenodd;}techdegree seal-36
    Junior Aidee
    Front End Web Development Techdegree Graduate 14,657 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    1 Answer

  • Zachary Smith
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Zachary Smith
    Full Stack JavaScript Techdegree Graduate 16,616 Points

    How on earth do you get the property names in the generateHTML function??

    Posted July 10, 2020 4:58pm by Zachary Smith
    .a{fill-rule:evenodd;}techdegree seal-36
    Zachary Smith
    Full Stack JavaScript Techdegree Graduate 16,616 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    2 Answers

  • Silvia Ramos
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Silvia Ramos
    Front End Web Development Techdegree Graduate 18,318 Points

    Ajax

    Posted June 11, 2020 1:49pm by Silvia Ramos
    .a{fill-rule:evenodd;}techdegree seal-36
    Silvia Ramos
    Front End Web Development Techdegree Graduate 18,318 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    1 Answer

  • Mark Harrigan
    Mark Harrigan
    7,686 Points

    Using VS Code, Downloaded files show up as DS_STORE Files?

    Posted June 8, 2020 6:48am by Mark Harrigan
    Mark Harrigan
    7,686 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    1 Answer

  • Paul Messmer
    Paul Messmer
    15,023 Points

    API clarification

    Posted May 16, 2020 2:29am by Paul Messmer
    Paul Messmer
    15,023 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    1 Answer

  • Hamzah Iqbal
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Hamzah Iqbal
    Full Stack JavaScript Techdegree Student 11,145 Points

    What is the purpose of the () => getJSON, as in why does it need the () ?

    Posted April 25, 2020 9:13pm by Hamzah Iqbal
    .a{fill-rule:evenodd;}techdegree
    Hamzah Iqbal
    Full Stack JavaScript Techdegree Student 11,145 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    3 Answers

  • Ole Vølund Skov Mortensen
    Ole Vølund Skov Mortensen
    27,842 Points

    Got "CORS request did not succeed" in firefox. what am i supposed to think here?

    Posted April 10, 2020 11:09pm by Ole Vølund Skov Mortensen
    Ole Vølund Skov Mortensen
    27,842 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    2 Answers

  • Fanny Petersen
    Fanny Petersen
    6,543 Points

    DevTools failed to parse SourceMap

    Posted April 5, 2020 1:18pm by Fanny Petersen
    Fanny Petersen
    6,543 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    1 Answer

  • Andrew Cauthorn
    Andrew Cauthorn
    8,940 Points

    (Asynchronous JS) How Many People Are in Space project - View astronauts not working

    Posted February 12, 2020 11:46pm by Andrew Cauthorn
    Andrew Cauthorn
    8,940 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    1 Answer

  • Daven Hietala
    Daven Hietala
    8,040 Points

    Unable to open workspace.

    Posted September 8, 2019 9:10pm by Daven Hietala
    Daven Hietala
    8,040 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    3 Answers

  • Daven Hietala
    Daven Hietala
    8,040 Points

    Why can't I preview the workspace?

    Posted August 9, 2019 1:45pm by Daven Hietala
    Daven Hietala
    8,040 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    5 Answers

  • Damian Szymanski
    Damian Szymanski
    11,843 Points

    What port can I view this project on?

    Posted August 2, 2019 3:11pm by Damian Szymanski
    Damian Szymanski
    11,843 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    1 Answer

  • Alex Franklin
    Alex Franklin
    12,403 Points

    astronauts in space receiving mixed content error because everything is HTTPS now and the endpoint is HTTP... HELP?!

    Posted July 14, 2019 4:02pm by Alex Franklin
    Alex Franklin
    12,403 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    2 Answers

  • vamosrope14
    vamosrope14
    14,932 Points

    Does the addEventListener function appear in the call stack, while its callback and 'click' appear on the right?

    Posted July 12, 2019 3:43pm by vamosrope14
    vamosrope14
    14,932 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    1 Answer

  • vamosrope14
    vamosrope14
    14,932 Points

    Why couldn't we just put getJSON as a callback reference in the addEventListener method?

    Posted July 12, 2019 3:41pm by vamosrope14
    vamosrope14
    14,932 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    2 Answers

  • geo
    geo
    4,193 Points

    Why not simply pass getJSON() as a callback to the event listener?

    Posted May 3, 2019 9:46pm by geo
    geo
    4,193 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Asynchronous JavaScript with Callbacks
    • Async Programming and Callback Functions

    3 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