Webpage won't show properly #118814
-
Select Topic AreaQuestion BodyI'm trying to link a website I made in VScode to github, but when i added the files to the respiratory, the webpage would only show the readme file and not the webpages. I could use some help here! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
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.…