Installation of CSS

Hello,

this is my first simple try on creating a website for fun and I cant get my stylesheet into my HTML code. Ive tried but the website doesn`t change. What am I doing wrong

Hey @Michellebayerle welcome to the forums!

You need a valid file path for the herf attribute. In this case it would be ./style.css

5 Likes

or, just style.css

2 Likes

I’d just like to note to all (Because I make this mistake often enough myself) that the correct spelling is href and not herf. (I’ve made this mistake more times that I can count, lol)

3 Likes

Tab completion shouldn’t fail you.

Just change line 7 to <link href="style.css" rel="stylesheet">

2 Likes