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
Marijn Bent
2,161 PointsWorking with variables first challenge doesn't work?
http://cl.ly/image/1W1O1L0n2a3S
I dont see what I do wrong. Is this a bug?
3 Answers
Ernest Grzybowski
Treehouse Project ReviewerWhat is the name or location of the lesson? Also, what is the question in that code challenge?
Randy Hoyt
Treehouse Guest TeacherIt looks like you have deleted the first line of text output. The code challenge started with this:
echo "My favorite ";
echo "2";
Your code now has this:
echo count($letters);
To fix it, you need to add that first line back:
echo "My favorite ";
echo count($letters);
The hint is wrong. It should say, "I see the correct number displayed, but something else is wrong with the output." I'll get that fixed shortly!
Does that help?
Marijn Bent
2,161 PointsAh, great, thanks for your help