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

Ehm. Not very clear what needs to be done. Like should we write a function, is this a random integer we need, a float..?

I know this is supposed to be a challenge, but you can be clearer when giving instructions without ruining the "fun" part of the challenge.

1 Answer

Steven Parker
Steven Parker
231,268 Points

Though not specified in the instructions, the demonstration at the end shows only integers being entered and returned. I took that to be the requirement, which is consistent with the solution shown in the next video.