I’m new to the community and I am working on my Capstone for the Building a Skill Path for HTML, CSS, and Github Pages. I have uploaded the local repository to Github from my working computer in a folder called colmaracademy. This contains my HTML and CSS code in Github. I can see the Code documents, but when I went to publish my website all I got was this.
This leads me to a page which was just my readme, instead of the going into the colmaracademy folder which has all of my resources and my html and css code documents.
Here is the link to my repository. Please let me know what I can do to get the website published and fix what will need to be fixed after submission.
Did you want to create a link to that particular project, Colmar Academy on your site? Then you’d add that to the index.html file in your github pages repo.
The first link now takes you to a 404 error because the opening page was a simple web page with my readme file instead of my whole site. All of the files are in a Colmar academy folder since I uploaded the repository from my laptop computer. So I deleted the readme hoping it would create from the folder but it didn’t do that either it just created the 404.
Do I have to reupload all my files while not having them in a folder on my laptop?
It sounds like you made changes to the files saved locally on your laptop, but did not push those changes to your remote repo.
Your repo on GitHub (your remote repo) only has the README file in it. Without your other files (i.e. - index.html, stylesheet, etc) nothing will show up on your github.io page.
If you’ve been making changes on your laptop but not seeing those changes reflected on the github.io page, then it’s probably because you haven’t pushed those changes (saving your local repo to GitHub). Here’s a link to the GitHub docs about using the git push command .
I think I figured it out. Since I uploaded a folder and not the files individually it made my landing page unable to be read. When I get home, I will try to upload everything from my PC by uploading the files instead of the folder and see if that makes a difference. Thanks for everyone’s help!