Skip to content

Webpage won't show properly #118814

Answered by joemar25
dcosmember0 asked this question in Pages
Discussion options

You must be logged in to vote

Examine your repository's file structure first things first. Your HTML, CSS, and JavaScript files should be in the root directory or in a public or docs folder, according to GitHub Pages. GitHub Pages may not be able to locate them if they are not in the proper location.
Next, confirm that the right branch is being used and that GitHub Pages is enabled for your repository. This setting is located in the "Pages" section of the repository settings. Occasionally, simply flipping a switch or selecting the appropriate branch can have a profound impact.
After you've adjusted those settings, commit and send your modifications to GitHub. Please be patient as it may take a minute or two to deploy.…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dcosmember0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pages Host a static website, right from your repo Question
2 participants