+ 1
Your code does return an error. Get IP not defined.
0
Maybe this can help about why the script belongs at the bottom.
https://levelup.gitconnected.com/all-about-script-87fea475b976
0
Yes i did see something about placements.
"When you place your JavaScript at the bottom of your HTML body, it gives the HTML time to load before any of the JavaScript loads, which can prevent errors, and speed up website response time." It is not clear but I suppose that means your api loaded before your script. So it was out of scope.
Also now that you have your tags in the correct order, you can use console.log
0
Yes console shows up right after I run the code. But if I swipe down to hide it I can not make it come back up.
0
Keep trying to swipe up from the bottom it finally worked for me