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 trialfoxtails
3,655 PointsWhat is wrong?
This is second challenge I can't seem to pass. My preview is not showing anything, so I don't even know where to look for mistake.
// I have initialized a java.io.Console for you. It is in a variable named console.
String response = console.readLine("Do you undertand do while loops? ");
3 Answers
Jason Anders
Treehouse Moderator 145,860 PointsHey there...
The spaces at the end actually will not affect the outcome of the challenge's task. The problem you are experiencing is actually just a typo with the word 'understand' inside of the string... you're missing the "s" :)
Keep Coding!
Alexander Davison
65,469 PointsCode challenges are super duper picky.
I believe that you have two spaces at the end of your string, try using just one. :)
// I have initialized a java.io.Console for you. It is in a variable named console.
String response = console.readLine("Do you undertand do while loops? ");
Good luck! ~alex
foxtails
3,655 PointsThank you both. It is always something really stupid, I'm really grateful to you both for answering! Passed the challenge!
Alexander Davison
65,469 PointsAlexander Davison
65,469 PointsInteresting :)
Didn't know that!