[SOLVED] How do I use Ajax

[SOLVED] How do I use Ajax


I tried to start the weather challenge and have no idea how to get an API. Here is a link to my Codepen, please tell me what I’m doing wrong. https://codepen.io/samcoding/pen/NXvGeq


You got it right, except you haven’t imported jQuery yet.


What do I do to import Jquery do I use $("(div id here)").html or $.("(div id here)").text? I know very little about APIs or Jquery. Am I supposed to do something like




You can go to the JS settings, then at the Quick-add menu at the bottom, select jQuery.


Ohhh. Such a simple solution this whole time thank you very much.