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


Tim Acker
.a{fill-rule:evenodd;}techdegree seal-36
Tim Acker
Front End Web Development Techdegree Graduate 31,247 Points

Powerball Number Generator

I thought I'd share my first website. It's simple, but I'm rather proud of it. It generates quick pick numbers for the Powerball lottery which is played in most U.S. states. If you're lucky enough to win using my site, please send me a generous 'thank you' check! ;-)


Steven Parker
Steven Parker
229,005 Points

I'm sure that was a fun programming exercise to do, but from the the practical aspect of the ticket buyer, isn't asking the clerk for a "quick pick" easier? :smirk:

3 Answers

Steven Parker
Steven Parker
229,005 Points

I'm not sure either is a challenge for the ticket buyer. :smirk:

Looks awesome! Would be a good project to put in a portfolio.

Only thing I would suggest is to add more explanatory comments to your main.js file. You've added comments to make it easier to see where functions end, but you've not explained what the code is actually doing. It would help other people understand it, as well as yourself when you come back to it at a later date.

Seriously good job though :)