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 trial

CSS CSS Basics (2014) Getting Started with CSS External Style Sheets

Cat Noone
Cat Noone
1,399 Points

Styles not applying

When I type styles in the html as instructed they don't apply. Same thing goes for when I type styles into the style.css file. Nothing is being applied to the page and I can't figure out why.

https://w.trhou.se/wp1ujoit1l

1 Answer

Hi Cat Noone,

I've just forked this to the link below, and it's importing the CSS:

http://port-80-requ8uz1hv.treehouse-app.com/

Your code is correct so try clearing your cache or trying it in private browsing. The heading used for testing (code below) wasn't appearing when clicking preview from the editor, however when I went to incognito in chrome (CTRL+SHIFT+N) so I'd assume there's some caching oddness...

Clear your cache with your version first, and if not, then add the inline CSS h1 and let us know:

<h1 style="color: red; font-size: 80px;">Test</h1>

Cheers, Ash

Cat Noone
Cat Noone
1,399 Points

Thanks, I cleared my cache and it seems to have fixed itself.