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 trialweb pad
4,483 PointsWhy did Nick placed the body in the /GENERAL/ section if he only want to change the font-family? Why not keep it in /HEA
Why did Nick placed the body tag in the /GENERAL/ section to set the font-family? Why not keep it in /HEADING/ together with h1 & h2 where in this section their font-family is also selected? Would it not be more organized this way?
2 Answers
Steven Parker
231,269 PointsI think you've explained it yourself when you said "is also". Settings organized under "Heading" would normally be used only for the heading, but a setting that is (or might be) used in more than one area would go under "General".
Brendon Butler
4,254 PointsHe wanted to set a general/page-default font. So I feel it would be a better fit for the "general" section. It really doesnt matter where you put it, as long as it makes sense and is organized for yourself. Or if you're working on a team, you should follow whatever standards they're using.
web pad
4,483 PointsThank you. Now it's clear.
web pad
4,483 Pointsweb pad
4,483 PointsGot it. Thank you.