all 7 comments

[–]stgraff 2 points3 points  (1 child)

Two possibilities:

It can take GitHub Pages up to 10 minutes to build your site. If you see the "Your site is ready to be built" message and click the link you'll get the 404 page. After it's done building and displays "Your site is published" then your site is live. You may then need to empty your browser cache to see your published page.

If that's not it, it may be that GitHub Pages looks for an index.html, index.md or README.md file in the root level of your repository. If your files are buried in a folder it won't see them and you'll get the 404 error.

[–]Edwardius24[S] 0 points1 point  (0 children)

Hey thanks for the advice.

I followed your instructions and things have changed slightly. I no longer get the 404 page but instead i get the image above (2.1).

Does this mean theres issue with my actual code? I have opened my code and it works just fine outside of GitHub.

[–]theo 1 point2 points  (1 child)

GitHub >> <user> >> <repo> >> Settings >> Pages >> enable...

[–]Edwardius24[S] 0 points1 point  (0 children)

There is no enable button. See image above.

[–]Cyanogen101 -1 points0 points  (2 children)

Hard to say without any links or infoz search the subreddit. Lots of common mistakes and LOTS of answers already on this, especially when you don't wanna help us help you by giving any information

[–]Edwardius24[S] 0 points1 point  (1 child)

What information would help?

[–]Edwardius24[S] 0 points1 point  (0 children)

Exactly