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

Need some help with this quiz question and my code.

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 element.

/* Write your CSS code below */
html {
    font-size: 1em;
}

h1 {
    font-size: 2.5em;
}

p {
    font-size: 1.5em;
}

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

2 Answers

You don't need a space between a and .more.

a.more selects a elements with the class .more.

a .more is a descendant combinator. It selects elements with the class .more which are nested in an a element.

Thanks that helped me out man. I'm fairly new to web design and I'm finding it difficult to retain all of this information. I think I'm going to have to redo the courses I've seen multiple times before I actually "Get it".

Nothing wrong with re-doing a course, especially when you're dealing with concepts you haven't seen before. Good luck with the rest of your courses!