Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Build a Simple Ruby on Rails Application Frontend Development Layouts

San Francisco
San Francisco
28,373 Points

This is challenge task 5 of 5...

not sure what to do here thanks

index.html.erb
<!DOCTYPE html>
<html>
  <head>
    <title>Treebook</title>
    <%= stylesheet_link_tag 'application' %>
  </head>

<div class="navbar">
  <div class="navbar-inner">
    <div class="container">
    </div>
  </div>
</div>
    <div class="container">
      <%=yield %>
    </div>

1 Answer

Chase Marchione
Chase Marchione
155,055 Points

Hi San,

The challenge wants us to add an 'a' tag with a class of "brand", and the content (the part not within tags) will say "Treebook". Putting body elements inside of a container class is standard practice and good organization, so we'll do that.

    <div class="container">
      <a class="brand">Treebook</a>
    </div>

Hope this helps!