You need to sign in to do that
Don't have an account?
Erik Ivarsson 16
Trailhead challenge - Create and Edit Lightning Components - font size not working
Hi,
The problem:
"Challenge Not yet complete... here's what's wrong:
The component is not using the correct font size. Ensure that you added it to the 'Style' section of the component bundle."
My current solution:
campingHeader.cmp
The problem:
"Challenge Not yet complete... here's what's wrong:
The component is not using the correct font size. Ensure that you added it to the 'Style' section of the component bundle."
My current solution:
campingHeader.cmp
<aura:component> <H1>Camping List</H1> </aura:component>campingHeader.css (in the bundle)
.THIS { } H1.THIS { font-size:18pt; }I have probably clicked the "Check challenge" 150 times by now with different "solutions" and changes in my code...
- I have tested with a fresh DE org and with a new Trailhead playground.
- I have tested with pt and px in the font-size unit
- I have tested multiple variations of capitalized H1 vs. h1 and spaces here and there
- I have cursed more the last day then have done the whole last year...
All Answers
.THIS{
}
H1.THIS{
font-size:18px;
}
It works for me
As stated in the description I have already tested back and forth between px and pt.. Still same error message