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) Basic Selectors Type Selectors

SONU PRABHAKAR
SONU PRABHAKAR
2,039 Points

my html file and css file is not getting link. I am using mac os x. I am using text wrangler editor.

I have saved two files which is mycode.html and stylecode.css in one folder named "sonucode". I have saved this folder into Documents. i am using this : <link rel="stylsheet" type="text/css" href="stylecode.css">.

where i am doing wrong? its not getting link.

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

It sounds like it's set up correctly. But I'm wondering if maybe there might be a problem with capitalization? make sure that your CSS file is actually named stylecode.css and not Stylecode.CSS or any other variant. These are case sensitive.

You might also try refreshing your browser and possibly clearing the browser cache if it's still not working.

Hope you get it working! :sparkles:

SONU PRABHAKAR
SONU PRABHAKAR
2,039 Points

Thanks for your prompt reply. i was doing spelling mistake with "stylesheet". i was using "stylsheet".