Show/hide - noob perplexed

if your code is exactly as typed…

check your tags, you have an additional end %>

hope this helps.