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 trialEmmanuel Plouvier
11,919 PointsIs there a bug with editor ?
It's impossible to validate task 2 of 3.
If I enter the value during the first step, it was correct in prefview, but on task 2 preview and "check work" didn't update.
4 Answers
Jason Anders
Treehouse Moderator 145,860 PointsYour code is correct, but with CSS, it is not a good idea to round values. You are setting the value correctly, but 53 / 16 = 3.3125 (4 decimal places). Once you fix that, you're good to go.
h2 {
font-size: 3.3125em;
}
Sometimes when converting to em, you can get very long decimal places... remember to keep all of it.
:)
Jason Anders
Treehouse Moderator 145,860 PointsHey Emmanuel,
I don't believe there is a bug. You'll need to post the code you are entering for us to help you.
I just went through all three tasks in the challenge with no issues.
:)
Emmanuel Plouvier
11,919 PointsHi,
thanks for your quick reply ! :)
Here is my css code for the second step
/* Complete the challenge by writing CSS below */
header {
font-size: 1.8em;
}
.title {
font-size: 1.625rem;
}
h1 {
font-size: 5.625rem;
}
h2 {
font-size: 3.313em;
}
Each time i have the error : Bummer! Is the font-size of h2
an em value equivalent to 53px?
I' don't understand what i am doing wrong.
Emmanuel Plouvier
11,919 PointsAhh ok, thanks ! :)
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsGood info!