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
Links? Hard to help without seeing what you’re talking about.
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
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?
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:
<link rel="stylesheet" href="css/Accounting.css"> <script src="js/accounting.js"></script>
However, looking at the repository the files are in the same directory as the HTML file, not in
js/ subdirectories. So the references should be:
<link rel="stylesheet" href="Accounting.css"> <script src="accounting.js"></script>
Thank you so much now it’s working perfectly