Skip to content
← Back to Community
How can i put style.css with my index.html
Profile icon
Kirtansyn

so i made a index.html thingy to make a website. if you watch https://www.youtube.com/watch?v=uyaV_EWWRmo this video you will see that he has a apart code for style.css. how do i do this?

Voters
Profile icon
DelaneyYates
Profile icon
Kirtansyn
Comments
hotnewtop
Profile icon
Vandesm14

All you need to do is add CSS to the style.css file since you already have it linked in line 8 of index.html.

Profile icon
SixBeeps

Repl.it already does this for you. Under your <head> tag, do you see where it does this? It's on the line that says:

<link href="style.css" rel="stylesheet" type="text/css" />

Essentially, this tells the webpage that there is an external reference with the name "style.css", which is a stylesheet in the CSS format.