I created a project and uploaded it on github but now when visiting it I am getting an 404 error here the link to my site :- https://akanksha26281.github.io/Tic-tac-toe/
Hi @akanksha26281, welcome to the GitHub Support Community! GitHub Pages looks for an
README.md file to serve by default. Your repository doesn’t have any of these files so your Pages site will show a 404.
Your site is online at the following link:
To fix this you’ll need to rename your
index.html and then it’ll show up without needing to add the filename to the end of your URL.
Thanks @thomasshaped for your help my previous issue is solved. Can you tell me why my other two css and js file are not loading
It looks like just a filename issue for both of them! Your code is looking for this file:
<link rel="stylesheet" href="tic-tac-toe.css">
But the actual name of that file is:
It’s the same issue with your JS file too. You’ll need to rename bot of these so they match the filenames in your HTML and then they’ll load
Oops thanks, my issue is solved : )