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
Klaus Colding
788 Pointsneed help with Treebook challenge
I am asked to "Add a div with the class "navbar" before the container div."
I think have added it before the container however it gives med this error: "It looks like Task 1 is no longer passing." <- what am I doing wrong?
thanks in advance.
"<!DOCTYPE html> <html> <head> <title>Treebook</title> <%= stylesheet_link_tag 'application' %> </head> <body> <div class="navbar"> <div class="container"> </div> </div> <%= yield %>
</body> </html>"
2 Answers
Jordan Warnholtz
3,705 PointsAdding a div with class navbar before a container div would look something like this:
<div class="navbar">
</div>
<div class="container">
</div>
Task #1 isn't passing because you changed something. You're supposed to keep each change up until the challenge is completed.
Klaus Colding
788 Pointseven having problems pasting code into the forumpost i see :)