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
Nidhi SoniNidhi Soni 

Getting error while practicing iterate on your prototype

Hi
I am getting this error while following step 1.

Failed to save undefined: 0Ad6A000000EEPZ:10,37: ParseError at [row,col]:[11,37] Message: Element type "lightning:card" must be followed by either attribute specifications, ">" or "/>".: Source

Plase expalin what I'm doing wrong here.
 
James BoothJames Booth

You have to end the element. Wherever there is a <lightning:card> there must be a </lightning:card> at the end.

<lightning:card variant="narrow" iconName="standard:account" class="slds-m-around--small"></lightning:card>