Linking css to HTML5

I’m having issues linking my style.css to my index.html I’ve atrached an image. Any feed would be great. Many thanks.

From the picture it seems your css and html files are in the same folder. Just
use href = "style.css".

Hi nibble, I’ve tried that and it’s still not working, the text is there in browser but isn’t changing with css

Okay remove the closing tag and the period just before it and replace it with > instead of />. Try below.

  <link rel="stylesheet" href="style.css">
1 Like

What about the styles you are applying in the css? Are you using valid selector? Have you refreshed the webpage?

There is no property called font-color. It is

h1 {
        color: green;
1 Like

That’s it!! Perfect! Thank you so much

:+1: Happy coding. Glad to help!

try this link,if it still havnt worked

btw, there is an extra “dot” in the line 5, right after the href attribute