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 trialEitan Peles
4,453 PointsMy HTML is not reading the external CSS. "Resource interpreted as Stylesheet but transferred with MIME type text/html"
I'm refactoring the Build a Simple Dynamic Site with Node.JS and when I try to make the CSS external, I get the error message:
Resource interpreted as Stylesheet but transferred with MIME type text/html
I double checked that the path and filename are correct and I inserted <link rel="stylesheet" href="../css/styles.css" type="text/css" media="screen"/>
right below the <title> tag
, in header.html
.
Even google it lots of time, and still don't have a clue of what can be possibly wrong.
Eitan Peles
4,453 PointsI just realized that I have to serve the CSS with the Node. But I can't figure it out how.
Rich Donnellan
Treehouse Moderator 27,696 PointsRich Donnellan
Treehouse Moderator 27,696 PointsCan you link us to your files, perhaps in a Workspace Snapshot?
I also reformatted your question for readability.