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

WordPress

John Rothra
John Rothra
6,711 Points

Zac seemed to skip some code and start with the wrong closing div

I looks like Zac wants to add the code that begins column one (goes through <div class="primary">) before the php if clause. Then after the if clause, add the code that begins with the closing of the primary class.

However, it looks like Zac leapfrogged everything in the <div class="row"> and began his second code with the closing of the <div class="small-12 ...">.

Why?

1 Answer

Carl Sergile
Carl Sergile
16,570 Points

It just happens sometimes. Try just deleting where the if statement ends and move it around a bit then refreshing your site as you do that. Its a simple mistake that can break your site but it is an easy fix, just by moving it around a bit. I had the same problem(s) going thru the course.

Hope that helps!