Styles.css doesn't link to index.html and I just can't see why

I am trying to link my styles.css to index.html and it doesn’t work . This should be so simple it’s frustrating !!!
Can you please have a look and tell me what am I doing wrong .


* {

    box-sizing: border-box;


body {

    background-color: black;

    color: white;

    font-family: Verdana, Tahoma, sans-serif;

    text-align: center;


h1 {

    font-weight: normal;

    font-size: 50px;    


a {




Try a forward slash: resources/style.css. Other than that, I can’t see why it wouldn’t link…

thanks @codeneutrino .
I’ve tried it …still doesn’t work

for the <link> element, the attribute should be rel (stands for relationship) not ref


@stetim94 thanks so much !
It works now !!!

1 Like