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 trialJeremy Yochum
Front End Web Development Techdegree Graduate 16,023 PointsIs this a typo?
This paragraph in the teacher's notes does not make sense to me. I might not be understanding it correctly. If the player's second guess is greater than the random number, correctGuess would not be true. It would only be true if the player guesses the correct number.
"The second else if clause also has a nested if statement. If the player's second guess is greater than the random number, correctGuess changes to true."
Jeremy Yochum
Front End Web Development Techdegree Graduate 16,023 Points@marksebeck this is the link to the page. The paragraph in question is second from the bottom in the teachers notes. https://teamtreehouse.com/library/program-multiple-outcomes
1 Answer
Mark Sebeck
Treehouse Moderator 38,295 PointsYes definitely a typo. That paragraph should read something like "The second else if clause also has a nested if statement. If the player's second guess is greater than the random number, the player can guess again. If that guess is correct, the correctGuess variable changes to true."
Nice catch Jeremy. You can try to report it as a bug and you could earn the Exterminator Badge. Check the support page for details.
Mark Sebeck
Treehouse Moderator 38,295 PointsMark Sebeck
Treehouse Moderator 38,295 PointsHi Jeremy. What you said sounds correct but can you post a link to the video?