[SOLVED] How do I use Ajax

[SOLVED] How do I use Ajax
0

#1

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


#2

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


#3

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

+html+

?

#4

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


#5

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