Local html and css work

Hello I am trying to load a html file and css file locally, and while I can get the html file to load, the css doesn’t seem to load. they are in the same folder and I have put <link rel="stylesheet" type="text/css" href="style.css"> in the <head> of the .html file. I’ve checked and the file is called syle.css so not sure what’s up. Any Advice?

Are you certain the css doesn’t load? Have you checked in the dev tools -> network tab? Is there a 404 for the css file?

these issues are always so difficult to solve without being able to have access to the files, could you upload the directory containing your project? you could use git, dropbox, google drive or whatever you are comfortable with

Oh my bad, I’m an idiot. I was looking at it this morning and realized that I had missed the css file name. Ex: The had style.css, the file was called styles.css. I’m sorry to have wasted your time. Hope you have a good day!

1 Like