1 Antwort

Hi Shruthi,"Create a Simple Camping List Lightning Component" i think your trailhead question is this. So,Try this:-1)Setup->Developer Console->File->New->Lightning Component->Save ascampingListCode:<aura:component > <ol> <li>Bug Spray</li> <li>Bear Repellant</li> <li>Goat Food</li> </ol></aura:component>2)Take new Lightning Component name it as campingHeaderCode: <aura:component > <H1>Camping List </H1></aura:component>Choose Style from Right Side Menu, it automatically generates default codereplace it withh1.THIS { font-size: 18px;}Take new Lightning Component name it as campingCode:<aura:component > <c:campingHeader /> <c:campingList /> </aura:component>If u want to see a preview of that create a Lightning app name it as campingAppCode:<aura:application > <c:camping /></aura:application>See Preview from the right side menu Like this.- Step by step instruction watch this video:-https://www.youtube.com/watch?v=UBeAStgdkzgI hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.Thanks and Regards,Deepali Kulshrestha