📢 Attention Salesforce Certified Trailblazers! Maintain your credentials and link your Trailhead and Webassessor accounts by April 19th. Learn more.
close
Start tracking your progress
Trailhead Home
Trailhead Home

Build the Lightning App

 What You’ll Do

  • Build an AllAccounts Lightning app
  • Load the Design System into it

Step 1: Build the Lightning App

First, we’ll build the container app that holds all the components. We’ll also load the Lightning Design System’s CSS by extending our app via extends.

  1. In the top right corner of your Trailhead Playground or Developer Edition org, click Setup (Setup ) › Developer Console.
  2. Select File › New › Lightning Application.
  3. In the Name field, enter AllAccounts and click Submit.
  4. Make sure you are in the AllAccounts.app tab.
  5. Replace all the code with the following code (the extends="force:slds" attribute loads the Design System).
    <aura:application extends="force:slds"> </aura:application>
  6. Select File › Save.
retargeting