CSS wont link to HTML

I’m trying to link my CSS to my HTML, but it doesn’t seem to be working.

i can only post one pic, but my style.css contains:
title {

I’ve tried replacing style.css with the full path, but there was no change.
I keep the HTML and CSS files together in the same folder.
I am a beginner and this is my first time trying to link the two together.
I appreciate any help that can be provided.

whoops, I accidently submitted this without finishing the CSS code.
this is what my style.css contains:

and this is the result on Chrome

unfortunately, no change…

Have you installed an HTML preview package?

1 Like

I didn’t before, but now I have installed it. I still don’t see any changes?

I would start from basics … hello world … then work upwards.


Thank you for the link. I finally realized what I was doing wrong (which I’m embarrassed to say it was a silly mistake, but I guess I got to learn somehow!

In my attempt to edit the phrase “Dasmoto’s Arts & Crafts”, I was attributing the CSS code to my title element, when I should have been applying it to the h1 element. Everything’s back to working order!

Thank you for your help

1 Like