function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kruthika saikruthika sai 

Lightening Components: Creating Components challenge is failing

The challenge is failing and shoring error - "The component is not using the correct CSS for the 'headline' class"
MyLightningComponent.cmp =>
<aura:component implements="force:appHostable">
   <h1 class="headline">Headline</h1>
 </aura:component>


MyLightningComponent.css =>

.THIS .headline{
    font-weight: bold;
    font-size: 24px;
}

Can anyone help me find out where I have been wrong ?
Thanks..
Best Answer chosen by kruthika sai
KaranrajKaranraj
Remove fon-weight: bold from your css. Actual challenge requirement is to set the font-size:24px. Trailhead will try to match the exact result so remove the font-weight from css and try resbumiting the challenge once again

All Answers

KaranrajKaranraj
Remove fon-weight: bold from your css. Actual challenge requirement is to set the font-size:24px. Trailhead will try to match the exact result so remove the font-weight from css and try resbumiting the challenge once again
This was selected as the best answer
kruthika saikruthika sai
Thanks Karanraj,
It worked !!!