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!
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

mohammed abdi abdulahi warsame
4,926 Pointsfont-family
when i want to write the font family one do i have to arrange it as font-weight then font-size then line-hight then font-family or i have the right to chosse?
2 Answers

Sergey Podgornyy
20,660 PointsYou have the right to choose order by yourself ;)
You can always try your code. It's the best practice.
More about font-family you can read here

Daniel Gonzalez
22,104 PointsI believe you have the option of choosing the order you list each property i.e. font-family then font-weight or vice versa unless you are using the "font:" property which specifies all the properties in one declaration:
p {
font: italic bold 15px arial, sans-serif;
}