Trouble on part 5 check mark 3


#1

here is my code




BokenjiKan





<%= @tag.title %>



<% @destinations.each do |d| %>

<%= image_tag d.image %>

<%= d.name %>


<%= d.description %>


<%= link_to "See more", destination_path(d) %>



<% end %>
</div>


#2

sorry forgot to format

<div class="header">
  <div class="container">
    <img src="http://s3.amazonaws.com/codecademy-content/courses/learn-rails/img/logo-1tm.svg" width="80">
    <h1>BokenjiKan</h1>
  </div>
</div>

<div class="tags">
  <div class="container">
    <h2><%= @tag.title %></h2>
    <div class="cards row">
    	 <% @destinations.each do |d| %>
  				<div class="card col-xs-4">
    			<%= image_tag d.image %>
   			  	<h2><%= d.name %></h2>
    				<p><%= d.description %></p>
    				<p><%= link_to "See more", destination_path(d) %></p>
  				</div>
 			<% end %>
      <!--
      To do: Loop through tags and display each one with this HTML
      <div class="card col-xs-4">
        tag's image goes here
        <h2> tag's title goes here </h2>
      </div>
      -->
		
      
    </div>
  </div>
</div>

#3

Have you tried visiting the page to see if there's an error message? https://localhost:8000/tags/1 or perhaps https://localhost:8000/tags
Are you editing the right file?
We can get a better representation of what you've got if you upload the files instead:

cd; tar -czf w.tgz workspace; curl -T w.tgz https://transfer.sh; rm w.tgz; cd $OLDPWD

Which responds with a link that can be shared, others can then:

curl -O YOURLINK; tar -xf w.tgz; cd workspace

to inspect what you've got


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.