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

HTML

Dave Haddad
Dave Haddad
2,807 Points

HTML & CSS Source Code Examples

Hey Everyone!

In addition to watching the training videos here, I feel like reading and analyzing other developers' HTML and CSS would be beneficial to the learning process. I want to try and avoid picking up bad habits from the get-go, but since I'm just starting out, I'm not really sure what bad habits look like.

Does anyone have examples of websites that contain well written HTML and CSS that is not built upon a CSS framework?

1 Answer

I once wrote a pretty lengthy reply to someone struggling a little with keeping their CSS tidy. In it, I talked about basic code hygiene, specifically focusing on HTML and CSS. I also attached a CodePen to that post with what I think is good HTML and CSS. Maybe there's something in there for you too. :)

Dave Haddad
Dave Haddad
2,807 Points

Thanks a bunch Ryan! This is very helpful!