Skip to content

So my site looks different on github pages than on my local host #22849

Discussion options

You must be logged in to vote

Hello @CurtisKil, welcome to the GitHub Support Community!

It appears to be a mixed-content error. Since GitHub Pages are served over HTTPS, you have to make sure that when requesting external resources they’re also served over HTTPS.

In your index.html file change the http in http://code.jquery.com/jquery-3.5.1.min.js to https and you should be good to go!

For future reference, you can also troubleshoot issues like this by opening the browser’s developer tools (F12, CTRL+SHIFT+I, or Right Click > Inspect) and check the console tab for possible errors.

Replies: 5 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
10 replies
@Lozrf9
Comment options

@cr3data
Comment options

@zThron
Comment options

@brookelynndoonan
Comment options

@jerbycoding
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet