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

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,174 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