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 Headline Modifiers

Extending hdln-prim and hdln-sec placeholders

Hi Guil Hernandez,

I think you created a bug when extending %hdnl-prim and %hdnl-sec placeholders with h1 and h2. Because _extends.scss is importing after _base.scss. I also watched SMACSS videos, in order to folder structure you used, the problem still exists in the result application.css file; h1 and h2 rule don't output.

By the way, you are a perfect teacher. I learned too much from you, thank you very much :)

Guil Hernandez
Guil Hernandez
Treehouse Teacher

Hi there. Strange, I've yet to get that error –– even just now after testing it. Sass is able to extend a placeholder even if it appears after the rule that's extending it. Can you send me a screenshot of your folder/file structure? Are you using the same files provided in Workspaces?

Thanks! :)

I looked it again, you're right. Sorry for stealing your time :(

Guil Hernandez
Guil Hernandez
Treehouse Teacher

No worries at all. Glad to help. :)