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.

PHP

More Excitement with Arrays Quiz

The quiz has a question where the output needed is 19801985 but the order of the arrays had years of 1985 then 1980 so that no matter what variable is given, the code will not output the correct sequence of numbers. The answer however was not accepted as it was likely not realized that the numbers were in fact out of order. I just thought that the order should either be fixed or the answer should be changed.

1 Answer

Randy Hoyt
STAFF
Randy Hoyt
Treehouse Guest Teacher

Great catch! Sorry about that. I think you have diagnosed the issue correctly: I think I put the array elements in the wrong order. (Though it's possible I out-smarted myself and picked the wrong correct answer! :~) I edited the question to change the order of the array elements. Thanks!