• Janet Cutler
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies
I am trying to complete the Create a lightning component on Trailhead, I keep getting this error I cannot understand what I have missed. Can anyone help?
Failed to save MyContactList.cmp: 0Ad7F000000f3e5:15,18: ParseError at [row,col]:[16,18] Message: XML document structures must start and end within the same entity.: Source

This is my code as per the module 
<aura:component controller="MyContactListController" implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" >
<aura:attribute name="recordId" type="Id" />
<aura:attribute name="Account" type="Account" />
<aura:attribute name="Contacts" type="Contact" />
<aura:attribute name="Columns" type="List" />

<force:recordData aura:id="accountRecord"
                  recordId="{!v.recordId}"
                  targetFields="{!v.Account}"
                  layoutType="FULL"
                  />

<lightning:card iconName="standard:contact" title="{! 'Contact List for ' + v.Account.Name}">
    <!-- Contact list goes here -->
</lightning:card>
I want to mark a few Trail Head modules I want to complete for later but can't see a way to do this. Is there like a favorites feature or anything so it is easy to find modules again later?