What is the problem with this?

Guys. I have a problem and I can’t seem to solve it.

So I have written a little code. Just messing around. And I want to link it to a CSS file. So the HTML and the CSS file are in the same folder and I used the link element with the “href” set to “styles.css” and it won’t work. I don’t know what the problem is or how to fix it. Please help me if you can.

Here is the code I wrote.
“<link rel"stylesheet” href=“styles.css”>"

this is wrong syntax

Oh yes. I see now. But would that really affect the link?

Test it out and see for yourself

Thank you. I did; it worked.
Thank you.

1 Like