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 Modular CSS with Sass Sass and BEM Review: The BEM Pattern

Devin Scheu
Devin Scheu
66,191 Points

Help With Quiz

Help with quiz question:

Write a BEM element class for an item element that is a child of nav: ___

Tried:

item

__item

nav__item

&__item

--item

nav--item

&--item

2 Answers

Colin Marshall
Colin Marshall
32,861 Points

Don't forget the period! It wants you to put the entire class on the blank, as you would in your code. I recently did this challenge and had to try a couple times to figure out how to format the answer.

Devin Scheu
Devin Scheu
66,191 Points

But which one of my answers needs a dot? I don't wanna go through again and try them all :/

I feel that answer is misleading giving the lecture on nesting. It should be &__item with no dot.