Hello everyone ! For the first time I tried to host a website via a github page however I cannot seem to get my page to work : for some reason the CSS file isn’t loading, and I keep getting the error “GET https://hadrienallemon.github.io/css/style.css net::ERR_ABORTED”
It is the first time i’m acutally hosting a website, so i’m not sure what i’m doing wrong.
The main file containes the index.html and 3 files containing the css sheet, the javascript file and the images for the website, named respectively “css”,“js”,“img”, and here’s my index.html file :
<!DOCTYPE HTML>
<html>
<head>
<title>TIC TAC TOE</title>
<link href="/css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<link href="https://fonts.googleapis.com/css?family=Gaegu" rel="stylesheet">
<div class="main">
<canvas></canvas>
<div class="wrapper">
<div class="outer">
<div class= "winBox">
<p><span class="winner"></span> Wins !!</p>
</div>
<div class = "character">
<div class = "ptext" style="width : 100%;">
<p>Choose your Character ! </p>
</div>
<canvas></canvas>
<canvas></canvas>
</div>
<table id="tb">
</table>
</div>
<button class="reset">reset</button>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src = '/JS/tictactoeScript.js'></script>
</body>
</html>
I really don’t know what do to Any help would be appreciated ! Thanks a lot !