Linking External CSS ( First post)<solved>

hi so I’m trying to add a CSS file into my html like I was taught in the new css course but its not working.
I have my index.html and styles in the same folder
Google Photos
Google Photos
Sorry if I linked the image wrong, I’m hella new.

1 Like

it seems you are missing the closing > in your link tag

1 Like

how embarrassing lol. I fixed that but it still doesnt work

what’s in your css file?

1 Like

Your code:

<style>
h1, h2{
 text-align: center
}
</style>

I’m not sure whether a style element is used in a css file.
Try removing the <style> element.

1 Like

not to be weird but… I love you!!!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.