Closed toch closed 7 years ago
in the code snippet
<ul class="list-group"> <% @hobbies.each_with_index do |hobby, i| %> <li class="list-group-item <% i < 3 ? '' : 'hide' %>"> <%= hobby.name %> </li> <% end %> </ul>
it should be a skull tag for <li class="list-group-item <%= i < 3 ? '' : 'hide' %>">
<li class="list-group-item <%= i < 3 ? '' : 'hide' %>">
in the code snippet
it should be a skull tag for
<li class="list-group-item <%= i < 3 ? '' : 'hide' %>">