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 trialRod Watts
14,119 PointsSelect the link with the class more. Using the rem unit, set its font size back to the base font size of the root HTML e
i am stuck on this question...please help. Thanks
9 Answers
John Steer-Fowler
Courses Plus Student 11,734 PointsHi Rod Watts
Try putting the 'a' before the class for more
John Steer-Fowler
Courses Plus Student 11,734 PointsI can't give you the answer straight up.
What code have you got so far? Please refer to the Markdown Cheatsheet below for help on posting code into your post.
Rod Watts
14,119 Points.more a {
font-size:1.5rem;
}
Rod Watts
14,119 Pointsi dont see any rules for the html element...how do you compare them?
Wayne Priestley
19,579 PointsHi Rod,
At the moment your using a font size one and a half times that of the base font size.
I can't say more without giving you the answer, but that's a HUGE clue.
Rod Watts
14,119 Points} .more a { font-size:1rem; }
Wayne Priestley
19,579 PointsBingo!
1rem is simply the base font size of your browser, usually 16px.
Rod Watts
14,119 PointsI answered this question with this code but it still says it's wrong...????
Wayne Priestley
19,579 PointsWhen you posted your code with the answer 1rem you didn't include that extra closing bracket at the beginning of you code that I can see in your comment above did you?
} .more a {font-size:1rem;}
Rod Watts
14,119 Pointsoh... all I had to do was put the a tag before the class... a.more {}
Thanks for the help anyways guys.
Wayne Priestley
19,579 PointsWayne Priestley
19,579 PointsDoh!
Nice one Rod, I didn't notice that ;)