• Ryan Draper
  • NEWBIE
  • 5 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi, I have been trying the "Using expressions challenge" of the lightning module and when I check the challenge I receive the next message:

Challenge not yet complete... here's what's wrong: 
The component is not defining an attribute

And here is my component:
<aura:component implements="force:appHostable">
    <aura:attribute name="DayOfTheWeek" type="String" default="Monday" /> 
    <aura:if isTrue="{!v.DayOfTheWeek=='Monday'}">
    Today is {!v.DayOfTheWeek}
        .........
    </aura:if>
</aura:component>

So, basically I don´t know what the error message refers to.

Thanks in advance.