Where is the problem I don't understand this lesson help me


#1

indent preformatted text by 4 spaces



<% @tag.title %>


<% @destinations.each do |destination| %>
<div class="cards row">
  <%= destination.image %>
  <h2><%= destination.name %></h2>
  <p><%= destination.description %></p>


  <!--
  To do: Loop through destinations and display each one with this HTML
  <div class="card col-xs-4">
    destination's image goes here
    <h2> destination's name goes here </h2>
    <p> destination's description goes here </p>
  </div>
  -->

</div>
<% end %>


"In the view, did you display the tag's title?" this is my error code save me


#2

Hi Ecln30,

You need to have an equal sign at the front so it looks like this:

<%= @tag.title %>

Please see this post for making your code readable: