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 Basics Using Bootstrap Components Building a Navbar

About order-1

Guys, could you please explain why went to the "Presented by treehouse button" to the right side, thanks to flexbox and the order-1?

5 Answers

I think that the CSS Flexbox Layout course would help you understand order-1 better and a lot more.

Your Welcome,
Jack

Many thanks for your quick answer :)

Flexbox order for things not already ordered have a default number of 0 - not 1. So, in a world of 0-ordered things, an item with an order number of 1 will be on the rightmost side.

I'm sorry that my answer was slow. It's just that I was on vacation for a week so I couldn't check the forum for a week.

Also, I hope you enjoy the course on the CSS flexbox layout!

Hi guys, see Bootstrap's documentation in short: https://getbootstrap.com/docs/4.0/utilities/flex/#order