Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialReagen Rahardjo
3,770 Pointswhy my css file cant be linked
Hi im coding using sublime text 3, I have a problem where the css cant be link. I already put all the file according to the instruction, the main.css already inside the css. this is the code: <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/main.css">
I put the background orange on the main.css, but once I view it on the browser it doesnt cchange why?
please help
1 Answer
johnd3
8,860 PointsHi Reagan,
Maybe this link works better?
<link href="css/main.css" rel="stylesheet">
Or did you forget to save the file and refreshed the page? Or maybe you forgot to place the link inside your <head>?
Happy coding!