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
Mark H
4,483 PointsLayout challenge - Add a div with the class "navbar" before the container div
Task one - "Add a div with the class "container" around the yield call in this layout" works fine. But task two is returning an error and not sure why. Input appreciated.
<div class= "navbar">
</div>
<div class= "container">
<%= yield %>
<div/>
Mark H
4,483 PointsDuh, thanks! It was midnight when I was working and staring at the screen with blurry eyes... So thanks!
1 Answer
Mark H
4,483 Points(Disregard below...as I got it to appear.)
Apologies, for some reason the closing div under <%= yield %> is not showing up but it is there in the challenge...
appbites
2,949 Pointsappbites
2,949 PointsDid you close all divs properly? (: