🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

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

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • 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
  • Alec & Josie & Dance
    Alec & Josie & Dance
    11,348 Points

    Why can't we use const for the weather variable?

    Posted March 7, 2019 7:07pm by Alec & Josie & Dance
    Alec & Josie & Dance
    11,348 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Make a JSONP request

    1 Answer

  • Anne Hamilton
    Anne Hamilton
    739 Points

    use of const

    Posted February 12, 2019 6:15pm by Anne Hamilton
    Anne Hamilton
    739 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Make a JSONP request

    1 Answer

  • Kevin Gates
    Kevin Gates
    15,053 Points

    Won't let you use "const" or "let"

    Posted February 5, 2019 3:21pm by Kevin Gates
    Kevin Gates
    15,053 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Make a JSONP request

    1 Answer

  • Joe Nguyen
    Joe Nguyen
    25,189 Points

    Do I really have to do "var" instead of const?

    Posted May 9, 2018 1:53am by Joe Nguyen
    Joe Nguyen
    25,189 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Make a JSONP request

    3 Answers

  • Ben Myhre
    Ben Myhre
    28,726 Points

    Heads up that the modern variable declaration statements (let, const) throw errors in this in the challenges.

    Posted May 8, 2018 1:22pm by Ben Myhre
    Ben Myhre
    28,726 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Make a JSONP request

    2 Answers

  • Christopher Woodward
    Christopher Woodward
    6,840 Points

    Using 'var' instead of 'const'?

    Posted May 7, 2018 8:58pm by Christopher Woodward
    Christopher Woodward
    6,840 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Make a JSONP request

    3 Answers

  • Eric Brennan
    Eric Brennan
    14,490 Points

    Can I use const and let instead of var with AJAX?

    Posted April 11, 2018 6:53pm by Eric Brennan
    Eric Brennan
    14,490 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Make a JSONP request

    1 Answer

  • Lachlan Tetlow-Stuart
    PLUS
    Lachlan Tetlow-Stuart
    Courses Plus Student 10,245 Points

    Frustrating that old courses don't accept ES2015 syntax.

    Posted September 21, 2017 6:45am by Lachlan Tetlow-Stuart
    Lachlan Tetlow-Stuart
    Courses Plus Student 10,245 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Make a JSONP request

    1 Answer

  • Martin Guzman
    Martin Guzman
    11,573 Points

    In the next series of code challenges, you'll write the code to talk to the Open Weather Map API. It provides weather in

    Posted March 27, 2016 2:28pm by Martin Guzman
    Martin Guzman
    11,573 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Make a JSONP request

    2 Answers

  • Anthony c
    Anthony c
    20,907 Points

    AJAX - stage 4 - "weather" code challenge --- Is this question down?

    Posted November 23, 2015 5:22pm by Anthony c
    Anthony c
    20,907 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Make a JSONP request

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.