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 trialPiotr Manczak
Front End Web Development Techdegree Graduate 29,263 PointsThere are two .css files used for this lesson. Why are we using two files? Can't we just use one and fit everything in?
We have two separate files that are linked to the html document. Why? Is one of them not enough? Has it been arranged this way because it's clearer?
1 Answer
Dima Mykhaylov
19,379 PointsI'd say the idea is that the styles on page.css are the non-flexbox properties and are just plain css to style the page. The flexbox styles are kept in flexbox.css. To answer your question, yes it has been arranged this way to put emphasis on the flexbox styles since this course is about learning flexbox and not focusing on ordinary css.
Piotr Manczak
Front End Web Development Techdegree Graduate 29,263 PointsPiotr Manczak
Front End Web Development Techdegree Graduate 29,263 PointsThank you for the answer, very helpful.