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

JavaScript JavaScript Basics (Retired) Making Decisions with Conditional Statements Improving the Random Number Guessing Game

aeronedmalin
PLUS
aeronedmalin
Courses Plus Student 4,605 Points

[SOLVED]How to make this code loop and stop only if the player enters the correct number?

I'd like to make this game more fun and I kinda need a little help.

1 Answer

Steven Parker
Steven Parker
231,269 Points

Congrats on solving your own problem. :+1:

Remember to add [SOLVED] to your title so folks don't still try to help.