The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript weather api page won't stop loading

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #196651

    Hi guys,

    I’m still new when it comes to Javascript and would like some help.

    I’m pulling information from a weather site using ajax and json. I get all the information requested (temp, wind, ect..) on page load, but the page will not stop loading.

    Does anyone have experience as to why this is happening and how to go about solving it?



    Many possible reasons! Can you share a link to the page? That way we can diagnose things a little better.

    If not — have you checked your browser’s Inspector to see what it’s still loading and stuff like that?


    The page isn’t live and requires a key. is there a way to do this through codepen without exposing my key?

    Or I can just register for a practice key.


    I checked dev tools and found nothing wrong in the network tab.

    Closing the page and re-opening it in another tab seemed to solve the issue. It’s no longer a problem, but I’m still curious as to why it happened before.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.