I keep trying to link to a css file . Not working | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

I keep trying to link to a css file . Not working

File is named hue.css . How to link to my html?

9th Jan 2023, 4:18 PM
Beb
2 Respostas
+ 4
Where? In Sololearn you can't link CSS file directly.
9th Jan 2023, 4:24 PM
AĶ¢J
AĶ¢J - avatar
+ 1
Sololearn's HTML code playground has 3 tabs. HTML CSS and JS which are linked. So you don't have to to worry about linking your stylesheet or scripts manually. Simply type or paste your CSS in to the CSS tab and it will automatically apply to your HTML document. If you are using a desktop sofware. You can put your hue.css document that contain your styles into the same folder as your html document. Then you may link your stylesheet by placing the link element into the head element like so. <html> <head> <link rel="stylesheet" href="hue.css"> </head> ... - Happy Coding
14th Jan 2023, 8:25 PM
Chris Coder
Chris Coder - avatar