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 trialDillon Reyna
9,531 PointsWhy are the steps displaying out of order?
You'll remember that, when ordering our steps earlier, we set 'Using the Shell' to position 0, and 'Learn About Strings' to position 1.
Why is it then that 'Using the Shell' is at /1/2 and not /1/1
Gloria Jimenez
903 PointsI think it has to do with the fact that we added the second course after setting the ordering attribute, if you add addition courses you will see that it does have the "correct" ordering.
1 Answer
Haydar Al-Rikabi
5,971 PointsEach "Step" instance has a primary key and an "order" attributes. What you see in the url is not the order number but rather the primary key of the "Step" within the database.
Kyle Salisbury
Full Stack JavaScript Techdegree Student 16,363 PointsKyle Salisbury
Full Stack JavaScript Techdegree Student 16,363 PointsI think i'm having a similar problem. Some steps are not even found. Anyone help?