Welcome to the Treehouse Community
Looking to learn something new?
Ruby If Else ERB Code Challenge.
I can not for the life of me figure this one out. I have attempted about 30 minutes of this. I just reset my code back to the original state someone please help me with this.
Maciej Czuchnowski36,440 Points
This should work:
<div class="status"> <% if user_signed_in? %> <span class="message">You are signed in.</span> <% else %> <span class="message">You are NOT signed in.</span> <% end %> </div>