Github error 404 #23645
-
I made my repository and I got GitHub like of my site but whenever I try to go to the site i get error 404 says the file not found any help plz |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
Links? Hard to help without seeing what you’re talking about. |
Beta Was this translation helpful? Give feedback.
-
This is the link of my repo https://ammar1999-a.github.io/ but it just shows the name not the site so can u help plz |
Beta Was this translation helpful? Give feedback.
-
Looks like https://github.com/ammar1999-a/ammar1999-a.github.io is the repository. The repository doesn’t have an index.html file, so by default the README is rendered. I assume https://ammar1999-a.github.io/Accounting.html is what you want? |
Beta Was this translation helpful? Give feedback.
-
Ok that’s right now I can see my site but what did do exactly and I also uploaded a css and JavaScript files in the repo why I can’t see them ? Just the html file is viewed |
Beta Was this translation helpful? Give feedback.
-
I found out that when I write.HTML. It views the html doc and when I write.CSS it views the css doc but I want to view my whole project with HTML , CSS and JAVASCRIPT |
Beta Was this translation helpful? Give feedback.
-
The paths with which the HTML file references the CSS and script files are wrong. Here’s what they look like in your HTML file:
However, looking at the repository the files are in the same directory as the HTML file, not in
|
Beta Was this translation helpful? Give feedback.
-
Thank you so much now it’s working perfectly |
Beta Was this translation helpful? Give feedback.
The paths with which the HTML file references the CSS and script files are wrong. Here’s what they look like in your HTML file:
However, looking at the repository the files are in the same directory as the HTML file, not in
css/
andjs/
subdirectories. So the references should be: