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 trialayele girma
3,830 Pointshelp, why my CSS code did not apply to my index.html and about.html ?
help, why my CSS code did not apply to my index.html and about.html ? because on view workspace, the web page should be the same instructor web page but no CSS code applied.
2 Answers
Nicholas Vogel
12,318 PointsDid you link the css file in the head of each .html document?
<link rel="stylesheet" src="/main.css">
replace /main.css with whatever the css file actually is.
ayele girma
3,830 Pointsthanks, but no change.
Nicholas Vogel
12,318 PointsCould you share your code so I can see what you have typed up? Just copy and paste it into a comment.