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

STAGE 4: VALUES AND UNITS

CANT SEEM TO GET PAST CODE CHALLENGE 3/3 IN THIS SECTION.....CAN SOMEONE PLEASE HELP?...THANKS IN ADVANCE

1 Answer

Kevin Kenger
Kevin Kenger
32,834 Points

Hey Sidony,

It wants you to target the links with the class of more, so for the selector, a.more should work. Then it wants you to set the font size to the default using the rem unit as the measurement, so 1rem should be the value for the font-size property.

That gives us

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

and that should do the trick!

How come

.more a {...}

doesn't work?

Kevin Kenger
Kevin Kenger
32,834 Points

Hey Philip,

.more a would target anchor tags that are inside of an element with the class of "more." The way that we target a specific element with a specific class is by using the syntax element.class {...}.