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 trialAboudi ABU SAMRA
1,000 PointsNeed to know
I followed everything the video did but I felt like I needed to add a restriction to not let the player type a number bigger than the max and i was wondering if I should stop doing more than the video said or should I continue doing it
1 Answer
Chris Freeman
Treehouse Moderator 68,457 Points"Doing more" greatly helps to learn faster. It stretches your knowledge and perspective on problem solving. So, yes, keep it up!!
In general, boundary checking of user input is a good practice. Unexpected user input can wreak havoc in a program.
The one draw back to adding extra code is it sometimes confuses the challenge checker on Treehouse.
"Software, like art, is never done, only abandoned."