Index.html is blank

Your HTML file is loaded in successfully, but actually rendering the content doesn’t work.

When I check the Console tab in my browser, I see two errors:

Uncaught SyntaxError: missing ) after argument list
Blocked loading mixed active content “http://ipinfo.io/?format=json&callback=getIP”

The first error tells me that there is an syntax error in your Javascript code. The second error is that my browser refuses to load the ipinfo.io Javascript snippet because you are trying to fetch it over HTTP from an HTTPS page, which is blocked for security.

Please fix your code and fix the ipinfo.io URL to use HTTPS, and it should work.

7 Likes