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 trial

CSS CSS Foundations Values and Units Relative Length Units

Rod Watts
Rod Watts
14,119 Points

Select 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

Wayne Priestley
Wayne Priestley
19,579 Points

Doh!

Nice one Rod, I didn't notice that ;)

John Steer-Fowler
PLUS
John Steer-Fowler
Courses Plus Student 11,734 Points

I 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
Rod Watts
14,119 Points
.more a {
  font-size:1.5rem;
}
Rod Watts
Rod Watts
14,119 Points

i dont see any rules for the html element...how do you compare them?

Wayne Priestley
Wayne Priestley
19,579 Points

Hi 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
Rod Watts
14,119 Points

} .more a { font-size:1rem; }

Wayne Priestley
Wayne Priestley
19,579 Points

Bingo!

1rem is simply the base font size of your browser, usually 16px.

Rod Watts
Rod Watts
14,119 Points

I answered this question with this code but it still says it's wrong...????

Wayne Priestley
Wayne Priestley
19,579 Points

When 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
Rod Watts
14,119 Points

oh... all I had to do was put the a tag before the class... a.more {}

Thanks for the help anyways guys.