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 trialsamueljhan
1,732 PointsFont-weight property for CSS
"Select the links inside the nav element. Add font weight 800 and padding top and bottom 15px and left and right 10px." How do I do this challenge which is in How To Make A website?
3 Answers
Joshua Shroy
9,943 PointsHey Samuel,
To select the links inside a nav element, you start with the "nav", then "a" for the links since html links start with..
<a href = "www.linkexample.com ">
Your css page should look like this..
nav a {
}
Now you can add the styling requested inside the brackets.
Hope that helps!
Anthony Myers
5,848 Points```nav a { font-weight: 800; padding: 15px 10px; }
Nick Pettit
Treehouse TeacherHi Samuel Jhan,
I understand you're having some issues with this particular code challenge, but the two answers given by other students should help. I checked them and they are correct.
samueljhan
1,732 PointsThanks