Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

Timothy Acker
seal-mask
PLUS
.a{fill-rule:evenodd;}techdegree seal-36
Timothy 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! ;-)

https://w.trhou.se/o1330q4325

Steven Parker
Steven Parker
216,135 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
216,135 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 :)