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

John Moran
John Moran
3,536 Points

My CSS is not connecting with my HTML. Code with rel is in place but CSS won't appear in preview.

Hi, I'm trying to build a site for practice starting with HTML and CSS. I've written out my HTML and linked it to a stylesheet. I've added a normalize.css as well. But my CSS sheet won't appear in my HTML.

Is it my file structure on my device? I'm using Visual Code Studio to write, and I tried creating a file structure after I wrote out my code. Is that my problem, because I've followed how to connect CSS and HTML through 'rel' but it's not coming through.

Thanks!

1 Answer

Asanka Pathirana
Asanka Pathirana
2,295 Points

check the typos in both locations ( in-coding/your pc). If you can take a screenshot of your work we can figure it out for sure.

Happy coding