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
Espen ToråsEspen Torås 

Trailhead: Create a Simple Camping List Lightning Component

Hi all,

I'm having a hard time to complete this trailhead: "Create a Simple Camping List Lightning Component", inside module "Lightning Components Basics".
This is the error message I get:
"Challenge Not yet complete... here's what's wrong:
The component is not using the correct font size."

This is the task-description:
Create a camping component that contains a campingHeader and a campingList component.

The campingList component contains an ordered list of camping supplies that include Bug Spray, Bear Repellant, and Goat Food.
The campingHeader component contains an H1 heading style with a font size of 18 points and displays 'Camping List'.



And here is my code:

camping.cmp:
<aura:component >
    <c:campingHeader />
    <c:campingList />
</aura:component>

campingList.cmp:
<aura:component >
    <ol >
        <li>Bear Repellant</li>
        <li>Bug Spray</li>
        <li>Goat Food</li>
    </ol>	
</aura:component>
campingHeader.cmp:
<aura:component >
    <H1>Camping List</H1>
</aura:component>

And finally the campingHead.css:
.THIS { 
}
H1.THIS {
font-size: 18pt;
}

 
SandhyaSandhya (Salesforce Developers) 
Hi,

Please refer below links for a similar issue.

https://developer.salesforce.com/forums/?id=906F0000000kCnMIAU

https://d2hwpln2xvs3s.cloudfront.net/forums/?id=906F0000000kDBiIAM

Hope this helps you!

Please mark it as Best Answer if my reply was helpful. It will make it available for other as the proper solution.
 
Thanks and Regards
Sandhya

 
Espen ToråsEspen Torås
Hi,

Thanks for replying on this.
Neither of these solution worked for me.

This is really frustating.

Any other suggestions?

Regards
- Espen
neel kamal 17neel kamal 17
use below code in style file.
.THIS {
    font-size:18pt;
}

h1.THIS{
    font-size:18px;
}
TriopticonTriopticon
I have problem with this challenge. I have tried everything I can think of, and every solution suggested on the forum. I’m so annoyed that this is giving me trouble as it is basic stuff, that the validator/challenge checker should have no problem checking.
Any other having problems on this the last month that have found a working solution to this problem?
Jeff DouglasJeff Douglas
Triopticon,

If you want to email me (jdouglas@salesforce.com) I can take a look for you. Please send a link to this thread so I have it for reference.
TriopticonTriopticon
Hi Jeff Douglas,

Thank you so much for your kind reply.
I found a solution in the end, after contacting the support found in the Trailhead site.

The only solution that was found to work was to create a new playground and validate.
Even if the rest of the trailhead work great to validate in the playground used for this trailhead.

No change to the code/files was needed.

Cheers,

Kenneth Soerensen
aka. Triopticon