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
Felicia Mabuza
9,408 PointsNext, target the class main-heading. Give the heading a font-size property and set the value to 72px
Nothing I do works. What am I doing wrong?
Felicia Mabuza
9,408 PointsFelicia Mabuza
9,408 PointsI got it! I was adding it in style.html instead of style.css. Thank you.
Marcus Parsons
15,719 PointsAwesome, Felicia! :)
6 Answers
Ted Sumner
Courses Plus Student 17,967 PointsTry the following
.main-heading {
font-size: 72px;
}
Common mistakes are with the various punctuation and a space between 72 and px. Without your code, I cannot say.
Marcus Parsons
15,719 PointsShe fixed it, Theodore. She was putting her CSS in the wrong place. See the comments above.
Ted Sumner
Courses Plus Student 17,967 PointsI saw that after I posted. I missed the comments.
Marcus Parsons
15,719 PointsNo worries! I know you're just helping out :)
Kyle Sphire
1,723 Points.main-heading {font-size: 72px;}
^ I keep putting this in the css section and it says "Bummer: Make sure you're including a font-size property and setting the value to 72px." What's the problem with this code?
Felicia Mabuza
9,408 PointsThank you to you both. I'm glad that we can help each other out when we need assistance :)
Marcus Parsons
15,719 PointsAbsolutely! That's what we do. :)
Abdulsalam Yazid
6,179 PointsCORRECT ANSWER
.main-heading { font-size: 72px; }
Salena Lieber
1,658 PointsI have still not been able to get past this challenge.....any and all help is Hugely appreciated
Unsubscribed User
Full Stack JavaScript Techdegree Student 3,530 Pointsthere is something wrong with challenge, no matter what i do its wrong. can anyone please post the whole answer !!
Gail Mukungurutse
1,844 PointsI agree with Mansor Almost. My solution to the challenge was and in style.css: .main-heading { font-size: 72px }
and code/text editor keeps saying: Bummer: Make sure you’re including a ‘font-size’ property and setting the value ‘72’ How is my answer wrong when I've set 'class' element correctly in html correctly. PLEASE HELP!! as I'm unable to proceed to the next challenge question.
Marcus Parsons
15,719 PointsMarcus Parsons
15,719 PointsCan you post the URL to the challenge you're referencing?