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
  • Albert Collazo-Delvalle
    Albert Collazo-Delvalle
    7,223 Points

    can anyone spot the issue with my $.getJSON() method on line 8?

    Posted February 25, 2019 8:57pm by Albert Collazo-Delvalle
    Albert Collazo-Delvalle
    7,223 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    2 Answers

  • Jake Goldstein
    Jake Goldstein
    1,304 Points

    What is the issue with this getJSON request

    Posted December 4, 2018 3:04am by Jake Goldstein
    Jake Goldstein
    1,304 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    1 Answer

  • Maher Bhavsar
    Maher Bhavsar
    4,982 Points

    different ways of writing .main.temp

    Posted July 10, 2018 10:43am by Maher Bhavsar
    Maher Bhavsar
    4,982 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    0 Answers

  • Leo Marco Corpuz
    Leo Marco Corpuz
    18,975 Points

    Why is my $.getJSON not working?

    Posted February 26, 2018 12:08am by Leo Marco Corpuz
    Leo Marco Corpuz
    18,975 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    2 Answers

  • Qasim Rashad
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Qasim Rashad
    Front End Web Development Techdegree Student 7,837 Points

    confuse

    Posted February 20, 2018 2:58am by Qasim Rashad
    .a{fill-rule:evenodd;}techdegree
    Qasim Rashad
    Front End Web Development Techdegree Student 7,837 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    1 Answer

  • Kevin Becerra
    Kevin Becerra
    14,243 Points

    AJAX request not working

    Posted August 8, 2017 12:05am by Kevin Becerra
    Kevin Becerra
    14,243 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    1 Answer

  • Daniel Stoica
    Daniel Stoica
    2,430 Points

    Request to weatherAPI does not work.

    Posted July 11, 2017 6:57pm by Daniel Stoica
    Daniel Stoica
    2,430 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    1 Answer

  • Eric Biz
    Eric Biz
    4,916 Points

    Weather API

    Posted July 8, 2017 1:10pm by Eric Biz
    Eric Biz
    4,916 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    2 Answers

  • Amrit Pandey
    Amrit Pandey
    17,595 Points

    AJAX expert help me in this challenge!

    Posted March 20, 2017 4:22am by Amrit Pandey
    Amrit Pandey
    17,595 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    1 Answer

  • Javier MARQUEZ
    Javier MARQUEZ
    11,877 Points

    Cant figure this out

    Posted January 25, 2017 6:32pm by Javier MARQUEZ
    Javier MARQUEZ
    11,877 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    2 Answers

  • Erik Pelletier
    Erik Pelletier
    14,673 Points

    Proper syntax being rejected for $.getJSON() function - var jqxhr = $.getJSON(weatherAPI,objData,showWeather(data));

    Posted January 17, 2017 8:27pm by Erik Pelletier
    Erik Pelletier
    14,673 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    1 Answer

  • Sandeep Krishnan
    Sandeep Krishnan
    9,730 Points

    This Task 4 in Linking and API from FLicker to my page project, Despite my best efforts I am missing something

    Posted October 7, 2016 7:01pm by Sandeep Krishnan
    Sandeep Krishnan
    9,730 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    3 Answers

  • Rene Hinojosa
    Rene Hinojosa
    7,430 Points

    Open Weather Map API needs an API-key to make the request.

    Posted July 7, 2016 1:44am by Rene Hinojosa
    Rene Hinojosa
    7,430 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    1 Answer

  • Thomas Katalenas
    Thomas Katalenas
    11,033 Points

    .getJson

    Posted June 29, 2016 11:11pm by Thomas Katalenas
    Thomas Katalenas
    11,033 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    1 Answer

  • Sebastian Hewelt
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Sebastian Hewelt
    Front End Web Development Techdegree Student 1,254 Points

    showWeather vs showWeather()

    Posted June 3, 2016 2:33pm by Sebastian Hewelt
    .a{fill-rule:evenodd;}techdegree
    Sebastian Hewelt
    Front End Web Development Techdegree Student 1,254 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    1 Answer

  • Raeed Sabree
    Raeed Sabree
    10,664 Points

    Everything's in place to send the AJAX request: you've specified the URL, a data object, and a callback function. Use jQ

    Posted June 2, 2016 4:01pm by Raeed Sabree
    Raeed Sabree
    10,664 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    1 Answer

  • Raeed Sabree
    Raeed Sabree
    10,664 Points

    Everything's in place to send the AJAX request: you've specified the URL, a data object, and a callback function. Use jQ

    Posted June 2, 2016 4:01pm by Raeed Sabree
    Raeed Sabree
    10,664 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    1 Answer

  • JOSHUA ABU
    JOSHUA ABU
    944 Points

    The weather app created using .getJSON method didn't work for me. Did it work for you?

    Posted December 5, 2015 4:55am by JOSHUA ABU
    JOSHUA ABU
    944 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    0 Answers

  • Austin Ward
    Austin Ward
    2,067 Points

    Code won't validate. What am I doing wrong?

    Posted October 2, 2015 2:26am by Austin Ward
    Austin Ward
    2,067 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    1 Answer

  • kushalmahajan2
    kushalmahajan2
    7,683 Points

    I have successfully completed the challenge but it seems the temparature shows as zero, no matter, which city you type ?

    Posted September 13, 2015 7:58am by kushalmahajan2
    kushalmahajan2
    7,683 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    1 Answer

  • Justin Estrada
    Justin Estrada
    34,995 Points

    Can anybody see what's wrong with my jQuery ajax $.getJSON() code

    Posted April 14, 2015 10:32pm by Justin Estrada
    Justin Estrada
    34,995 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    1 Answer

  • Jamie Bradley
    Jamie Bradley
    7,148 Points

    AJAX GET method

    Posted November 17, 2014 10:33pm by Jamie Bradley
    Jamie Bradley
    7,148 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    1 Answer

  • Stephen Printup
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Stephen Printup
    UX Design Techdegree Student 45,252 Points

    AJAX and APIs: Challenge Task 1, Sending AJAX request

    Posted November 17, 2014 4:26pm by Stephen Printup
    .a{fill-rule:evenodd;}techdegree
    Stephen Printup
    UX Design Techdegree Student 45,252 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    2 Answers

  • Marcin Robert Kaźmierczak
    Marcin Robert Kaźmierczak
    33,570 Points

    I'm stucked on the Final AJAX challenge...

    Posted July 8, 2014 12:04pm by Marcin Robert Kaźmierczak
    Marcin Robert Kaźmierczak
    33,570 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Call the jQuery $.getJSON method

    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