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
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,690 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