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 trialYeeka Yau
7,410 PointsAnswer to the previous quiz?
Hi, just a quick one regarding the answer to the previous quiz. It was simply a fill in the blanks of the while loop for a carnival dunk tank.
There were 3 blank spaces, with:
while(remainingTries _ 0 _ _ throwBall(); }
I simply put:
while(remainingTries > 0 ) { throwBall(); }
The system says that is incorrect. Not sure what is wrong with that?
Thanks.
Yeeka Yau
7,410 PointsAhh, haha you're right. Thanks so much.
Thomas Williams
9,447 PointsIt threw me too, i couldn't see the opening '{' , In the end I decided it was a mistake so entered the correct answers anyway and hey presto i passed. Would have been a lot simpler if i could have seen the whole line, not sure why the spaces/blanks need to be so large!
Akilah Jones
18,397 PointsHmmm, seems like an area for improvement on treehouse's side...
4 Answers
Yeeka Yau
7,410 PointsJust needed to expand the size of the browser. Solved.
Ivan Nemchenko
6,623 PointsIts suppose to be only special chars (&&!!==<>) each one of the blanks take only one special char.
Marcos Philipson
7,725 PointsThis problem got me too!
Tony Brackins
28,766 PointsI think there needs to be a little more context with this question...
Sida Yuen
1,763 PointsSida Yuen
1,763 PointsYour window may have been too small, try to scroll to the right to find the rest of the code, that will give you a much more accurate picture of what's needed