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.

CSS Bootstrap 4 Basics (Retired) Responsive Layouts with the Bootstrap Grid Column Ordering and Offsetting

I think there is a typo

I think it should say pull and not push "Likewise to pull a column to the left 4 columns use push-lg-4." Or I'm an idiot....probably one of the two.

3 Answers

Tom Geraghty
Tom Geraghty
24,162 Points

You're not an idiot and typos happen all the time to everyone. Good on you for pointing it out.

The teacher's notes contain a typo in the paragraph but not in the code snippet. Here is the quoted text with the typo:

Pushing and pulling columns Instead of col-lg-push-4 to push a column over 4 columns to the right you use push-lg-4. Likewise to pull a column to the left 4 columns use push-lg-4.

It should be:

Pushing and pulling columns Instead of col-lg-push-4 to push a column over 4 columns to the right you use push-lg-4. Likewise to pull a column to the left 4 columns use pull-lg-4.

It's correctly written as pull in the code snippet but I can see how that typo would be confusing. Is there a way to tag the admins or Guil directly to correct this simple mistake?

Marcus Tan
Marcus Tan
879 Points

Not sure what you meant but I think you're missing a col Try: col-lg-push-4 to push the column to the right col-lg-pull-4 to pull the column to the left

The "col-lg-push-4" format only works on older versions of bootstrap. I'm running the newest version. The text in the teacher's notes indicates "push-lg-4" moves the column to the right. And in the next sentence says the same command "push-lg-4" will move the column to the left. I believe it's supposed to say "pull-lg-4" will move the column to the left.

John Vanek
John Vanek
15,749 Points

Just confirming this there is a typo above the code snippet for moving columns

It says

Pushing and pulling columns

Instead of col-lg-push-4 to push a column over 4 columns to the right you use push-lg-4. Likewise to pull a column to the left 4 columns use push-lg-4.

The code snippet is correct but here it should say pull-lg-4