How can I link with html and css
<link rel=“stylesheet” href=“name.css”></link> (pretty sure it has a closing tag, but not 100%)
Jax , it doesn't has closing tag. The syntax is : <link rel="stylesheet" href="style.css"/> It's a self-closing tag !!
ABE, that problem happened many times with me. I just deleted the whole code and wrote it again. 😆😆 It works sometimes. Ok. Let me show you more. Main_File | |__ index.html |__ script.js |__ style.css Only then the code will work.
If you placed your style.css on your PC but compiling codes on Sololearn, that's not gonna work.
I try several times on that way but it didn't work and I could not find my mistake
And also we have to write between head tag
I think smth wrong with my laptop