I checked my code and the iconName is clearly there for contacts (see screenshot below)
I even went back and started the challenge again and I keep getting the same error for two different playgrounds. However, the page looks exactly as the module says it should. The icons are appearing on every card. If the iconName wasn't listed in Contacts code like the error state, then the icons wouldn't be appearing on the Contacts cards but they are so the code has to be there.
What am I not seeing?
2 réponses
Hi Francine,
Use iconName="standard:contact" instead.
Your code uses standard: account ".
1. Go to your "ResultsSection.cmp".
2. Verify that the Account card section of your code displays the following for your lightning:card base Lightning component:
<lightning:card variant="narrow" iconName="standard:account" class="slds-m-around--small">
3. Verify that the Contact card section of your code displays the following for your lightning:card base Lightning component:
<lightning:card variant="narrow" iconName="standard:contact" class="slds-m-around--small">
4. Verify that the Lead card section of your code displays the following for your lightning:card base Lightning component:
<lightning:card variant="narrow" iconName="standard:leads" class="slds-m-around--small">
https://developer.salesforce.com/forums/?id=9060G000000UU23QAG