Back

Explore Courses Blog Tutorials Interview Questions
+2 votes
3 views
in DevOps and Agile by (29.3k points)

Here is my GitHub repository on the gh-pages branch. Everything looks good, I have my index.html, my CSS, JS and picture folders.

But when I access http://roine.github.com/p1 I get HTTP 404 not found.

Any explanation and solution?

I found this question interesting can anyone solve this question.

1 Answer

+2 votes
by (19.4k points)
edited by

Here, this question is quite simple you have the pictures and css and js in a file called index.html

So in this case you need to use:

http://<github url>/index.html

Then you can see the desired output and this occur because you have mentioned all in index.html and you're not calling that, so you got this error.

For more information here is an excellent tutorial for git:

Related questions

+1 vote
1 answer
0 votes
1 answer
+2 votes
1 answer

Browse Categories

...