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 How to Make a Website Styling Web Pages and Navigation Style the Portfolio

Japneet Singh
Japneet Singh
4,675 Points

When working on our own project do we need to include Normalize.css

when making our own website on another text editor do we need to include the normalize.css or we can just start with our custom css.

Well, as explained in the "How to make a website" course, the "normalize.css" file is used just to clear all default styling the web browser may display. so it is optimal to use that if you want to start from scratch. But if you would like some of the default stylings to stay on the browser than it's up to you to decide.

Hi Japneet!

When I started learning I had the same question, so I know the answer to this now :)

No, you do not NEED to include the normalize.css, however it makes things a lot easier to do so. Big sites like Twitter and Github use normalize.css. As you continue learning and eventually building, I'm sure you may find situations where you would rather not add normalize.css to your site.

1 Answer

Japneet, the basic answer is "Yes", you should use something like normalize.css before writing your own css.

Why? The reason is that it goes a long way to help with cross-browser compatibility. It gives you a solid starting platform to work on.