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.
Perry CoxPHP Development Techdegree Student 1,442 Points
Final accepted output incorrect. How to report it?
I struggled with this output as it did not function correctly. I would work and test stuff out in atom on my own and successful out puts on the treehouse side echoed out array on the atom side. Things that worked on the atom side failed to satisfy the question. The final output that I submitted that the website said was correct actually prints out the word array 10 times
Sean T. Unwin28,660 Points
Your code will not satisfy the requirements as it is
echoing the child Array, not the
name string of the child Array.
The second step, after creating the
foreach loop, is requesting to output each of the flavors. This will require
name value in each child Array.
The final step is to only output the flavor name when it is