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 trialAmil Boddie-Willis
9,661 PointsI REALLY Don't Get it...
I don't understand why my code isn't working for this exercise: Finally, inside the p rule, include the mixin that applies trailing whitespace while maintaining vertical rhythm. - Bummer! Make sure you're including the correct mixin inside the p rule.
Here's my code:
@import "compass/typography";
@include establish-baseline ($base-font-size);
h1 {
@include adjust-font-size-to(48px);
margin-bottom: rhythm(1);
}
h2 {
@include adjust-font-size-to(36px);
margin-bottom: rhythm(1);
}
p {
$rhythm-unit: $base-line-height;
}
Thank you,
Amil
Amil Boddie-Willis
9,661 PointsI think I get what you mean - Thank you...
4 Answers
Jason Anello
Courses Plus Student 94,610 PointsOn that last part it looks like you want to include the trailer
mixin. This will add trailing space.
@include trailer();
The parentheses are optional if you're not passing in any arguments.
Amil Boddie-Willis
9,661 PointsIt worked - Thank you, Jason - appreciate it... P :)
Amil
Tyler Wain
13,210 PointsHi Jason and Amilcar,
I'm still having trouble getting past this lesson. Can you be more specific with the opening back ticks?
thank you
Amil Boddie-Willis
9,661 PointsHey Tyler,
They look just like this: ``` - All you have to do is place them at the top and the bottom of your code, if that makes any sense - Good luck... P :)
Amil
Tyler Wain
13,210 PointsHey Amilcar, thanks for the help! i ended up getting it right after posting that earlier! forgot to come back and delete it
Amil Boddie-Willis
9,661 PointsNo problem - Glad you figured everything out... P :)
Amil
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsHi Amilcar,
I fixed your code formatting. You want to use 3 backticks and they need to be on their own lines with a blank line before the opening backticks and after the closing ones.