Reputation: 141
I'm trying to add my .css file, but it is not working and not applying.
But when I put the same style code in HTML it works, so the problem is links, but I think I am doing it right. enter image description here
I have also tried putting <link rel="stylesheet" href="style.css">
but I know I gotta put the folder names too, so both don't work.
Also, something was wrong with linking, because I tried putting in <img>
and it still wouldn't link or show but when I tried online image, it would link.
Upvotes: 2
Views: 91
Reputation: 76
change the 9th line as
<link rel="stylesheet" href="../static/style.css">
because u need to go back from dashboard.html use"../"
Then goes to the stylesheet file as "static/style.css"
Upvotes: 2