My website only shows my HTML and not my css files with images

My website doesn’t have the CSS applied to the site on Github, you can check my code out here

You can check my website and see what I’m talking about, I even tried to reupload the code again when it didn’t work the first time, but nothing happened.

The referenced files don’t exist in your repository, e.g. here:

<link rel="stylesheet" type="text/css" href="../css/style.css">

That references something one level “above” your repository (..), and then in a css/ directory. If you want to refer to the style.css file in your repository, the link needs to point simply at style.css.

Also a variety of things that aren’t stylesheets are linked as stylesheets (a picture and HTML files), that’s not going to work.

Thank you so much that worked!

1 Like