You need to sign in to do that
Don't have an account?
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:
And here is my code:
camping.cmp:
campingList.cmp:
And finally the campingHead.css:
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; }
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
Thanks for replying on this.
Neither of these solution worked for me.
This is really frustating.
Any other suggestions?
Regards
- Espen
.THIS {
font-size:18pt;
}
h1.THIS{
font-size:18px;
}
Any other having problems on this the last month that have found a working solution to this problem?
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.
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