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
  • Daniel Corio-Rosas
    Daniel Corio-Rosas
    6,995 Points

    All of my promises returned pending, why?

    Posted August 9, 2023 4:18pm by Daniel Corio-Rosas
    Daniel Corio-Rosas
    6,995 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    2 Answers

  • Andrew Cauthorn
    Andrew Cauthorn
    8,036 Points

    Wikipedia Endpoint is no longer active

    Posted July 23, 2023 8:19pm by Andrew Cauthorn
    Andrew Cauthorn
    8,036 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    2 Answers

  • Joshua Hatae
    Joshua Hatae
    7,447 Points

    When running the code for this video I run into a uncaught at xhr.onload error.

    Posted June 23, 2023 11:11pm by Joshua Hatae
    Joshua Hatae
    7,447 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    0 Answers

  • amarpreet singh saluja
    amarpreet singh saluja
    1,053 Points

    I'm getting promise status as fullfilled wherein , in the video it says resolved can you please explain the same?

    Posted December 27, 2022 8:27am by amarpreet singh saluja
    amarpreet singh saluja
    1,053 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    1 Answer

  • emmanuel egunjobi
    emmanuel egunjobi
    4,475 Points

    Getting a 'Uncaught SyntaxError: Identifier 'astrosUrl' has already been declared

    Posted March 31, 2021 12:27pm by emmanuel egunjobi
    emmanuel egunjobi
    4,475 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    2 Answers

  • Uriel Fuentes
    Uriel Fuentes
    4,154 Points

    Return in callback of map function.

    Posted January 6, 2021 3:44am by Uriel Fuentes
    Uriel Fuentes
    4,154 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    2 Answers

  • Jonathan Ambriz
    PLUS
    Jonathan Ambriz
    Courses Plus Student 3,902 Points

    Uncaught Type Error and Uncaught reference error when making Promises

    Posted September 9, 2020 11:13pm by Jonathan Ambriz
    Jonathan Ambriz
    Courses Plus Student 3,902 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    1 Answer

  • Farid Lavizadeh
    Farid Lavizadeh
    12,006 Points

    What is getJSON in getProfile returning to?

    Posted August 4, 2020 10:23pm by Farid Lavizadeh
    Farid Lavizadeh
    12,006 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    2 Answers

  • Mikel Cati
    Mikel Cati
    8,045 Points

    .onerror error

    Posted June 29, 2020 7:31pm by Mikel Cati
    Mikel Cati
    8,045 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    1 Answer

  • Alejandro Bryan
    Alejandro Bryan
    10,923 Points

    I'm having a lot of problems with the Promises call.

    Posted June 28, 2020 2:46pm by Alejandro Bryan
    Alejandro Bryan
    10,923 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    5 Answers

  • megm
    megm
    14,342 Points

    Receiving "Error: Not Found" in console

    Posted June 17, 2020 10:10pm by megm
    megm
    14,342 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    2 Answers

  • Tree House
    PLUS
    Tree House
    Courses Plus Student 1,566 Points

    Using `return` keyword with `resolve` and `reject` callbacks

    Posted April 1, 2020 4:37pm by Tree House
    Tree House
    Courses Plus Student 1,566 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    1 Answer

  • Steve Seebart
    PLUS
    Steve Seebart
    Courses Plus Student 11,897 Points

    Moving error handling out of the promise

    Posted February 10, 2020 6:20pm by Steve Seebart
    Steve Seebart
    Courses Plus Student 11,897 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    1 Answer

  • Nicolas Valdivieso
    Nicolas Valdivieso
    6,654 Points

    Why are constructors used in this video if they haven't even been introduced?

    Posted November 12, 2019 2:52am by Nicolas Valdivieso
    Nicolas Valdivieso
    6,654 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    5 Answers

  • S G
    S G
    6,243 Points

    I didn't understand why you need to use xhr.onerror, doesn't statusText provide all the errors?

    Posted October 7, 2019 4:13pm by S G
    S G
    6,243 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    2 Answers

  • mk37
    mk37
    10,271 Points

    why did he not use setTimeout() in the promise?

    Posted September 28, 2019 2:44pm by mk37
    mk37
    10,271 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    1 Answer

  • Jason Pallone
    Jason Pallone
    11,340 Points

    No promise objects are being returned?

    Posted September 25, 2019 7:46pm by Jason Pallone
    Jason Pallone
    11,340 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    2 Answers

  • timur
    seal-mask
    PLUS
    .a{fill-rule:evenodd;}techdegree seal-36
    timur
    Full Stack JavaScript Techdegree Graduate 18,104 Points

    A 'person' in generateHTML() doesn't have a thumbnail property, crashing the entire program

    Posted September 13, 2019 7:11am by timur
    .a{fill-rule:evenodd;}techdegree seal-36
    timur
    Full Stack JavaScript Techdegree Graduate 18,104 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    1 Answer

  • Alexander D
    Alexander D
    8,685 Points

    Issue with button. Promise is not definied.

    Posted September 8, 2019 4:04pm by Alexander D
    Alexander D
    8,685 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    2 Answers

  • gerardo keys
    gerardo keys
    14,292 Points

    I used jQuery...

    Posted May 10, 2019 11:40pm by gerardo keys
    gerardo keys
    14,292 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    1 Answer

  • Takuya Hirata
    Takuya Hirata
    23,296 Points

    getProfiles without a parameter?

    Posted April 25, 2019 9:13pm by Takuya Hirata
    Takuya Hirata
    23,296 Points
    • JavaScript
    • Asynchronous Programming with JavaScript
    • Understanding Promises
    • From Callbacks to Promises

    1 Answer

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