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

Ben Stoltz
Ben Stoltz
20,364 Points

CSS-Layout-Techniques Flexbox final challenge

Hey there. So for the flexbox final challenge I'm currently using: '''css .secondary{ -webkit-order: 1;} ''' to try to solve the challenge. It should complete the challenge, looking at the preview it certainly switches the columns, however I have noted several things.

1) It doesn't complete the challenge and still says it is incorrect. I have also tried it with a display: flex; and setting the order of .primary to 2nd, still no joy.

2) If I just write the code in on challenge 4 it doesn't properly run it and does NOT change the order of the column, however if I copy my final code, refresh the page resetting the challenges, and paste it in it displays fine.

If I'm overlooking something mind-numbingly obvious please let me know...sleep deprivation and end of a college semester might be making my brain particularly obtuse.

1 Answer

Ben Stoltz
Ben Stoltz
20,364 Points

Nevermind, solved it by changing the order to -1 instead of 1. (though theoretically specifying the values for .primary and .secondary should also get the desired result, and in fact did.)