Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Steve Monsen
5,207 PointsProblem with Layouts code challenge
Build a Simple Ruby on Rails Application > Frontend Development > Layouts
Task 1 works
"Add a div with the class "container" around the yield call in this layout."
<div class="container">
<%= yield %>
</div>
Task 2 throws error: "Oops! It looks like Task 1 is no longer passing."
"Add a div with the class "navbar" before the container div."
<div class="navbar">
<div class="container">
<%= yield %>
</div>
</div>
3 Answers

Dan Ridley
Courses Plus Student 14,839 PointsHey Steve,
I am sorry you have having a problem. I will tag people that will definitely be able to help us out solving your problem.
Could you help us out Jason Seifer or Elizabeth Fawkes

Jason Seifer
Treehouse Guest TeacherHey Steve Monsen you're pretty close! Double check the language that the code challenge is asking for (hint: before versus _surrounding) :)

Steve Monsen
5,207 PointsOooooooh! Hahahaha. Ok. Thanks, Jason. :) Got it. I must have been getting tired last night. (Why would I be wrapping a navigation div around a whole body container div, anyway? The logic part of my brain must have shut down last night. hahaha.)