Ask coding questions

← Back to all posts
How can i put style.css with my index.html
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
DelaneyYates
Kirtansyn
Comments
hotnewtop
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.

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:

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