Welcome to the Treehouse Community
Looking to learn something new?
Customizing forms/Check Sign in Status Challenge
I have no idea what i'm doing wrong in the customizing forms code challenge (if/else). Can someone help me out?
Hey Betsy - What you're trying to do is create an if/else statement checking to see if the user is logged in.
Should look like this I think:
<% if user_signed_in? %> <p>You're signed in blah blah</p> <% else %> <p>You are Not signed in</p> <% end %>
Jason SeiferTreehouse Guest Teacher
Great answer, Zander! Let us know if you have any more questions, Betsy.
Thanks Zander!! Totally worked. Jason - I'm in the Starter League in Chicago, and I have to say I LOVE treehouse. Congrats on the recent awesome news. You guys rock!!