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!

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 Numbers The Math Object Random Number Challenge – Solution

I'm not good at describing my code.

1 Answer

Eric Ryan
.a{fill-rule:evenodd;}techdegree seal-36
Eric Ryan
Python Development Techdegree Graduate 26,123 Points

Can you be more specific about the challenge you are having? It seems like the comments in the random.js file are appropriate. You could place the relevant code under each comment and it would be very readable.

If you mean that you are having a hard time writing comments to describe your code you might consider writing the comment first and then writing the code to do what the comment describes.

If you can give more detail about the challenge that you are experiencing we might be able to provide more relevant advice.