Austin Magnuson Austin Magnuson - 1 year ago 65
CSS Question

Javascript won't run on github pages site

So the javascript used to work on my github pages site but it doesn't work anymore after I delete the repository and tried to re-uplaod the project with some changes. Here is the repo. Here is the site.

Kos Kos
Answer Source

You are serving the site over HTTPS but trying to load jQuery over HTTP. This is not allowed.

<script src=''></script>

Replace http with https and you should be good to go. This error is easily discoverable if you open the Javascript Console in your browser (usually under F12).