I’ve tried looking through the forum, but there isn’t much information on this question… I’ve searched online and have been unsuccessful…I fear I’’ be stuck here forever. Please help
Hi. I’m sure one of the of the earlier projects created a random number between 2 numbers you can look at. As a beginner I suggest you look on the internet how to do this and have a go at trying to do this, then work out how to put that together into the property as a function.
i was reading a post about parameter destructuring, and i was under the impression the brackets are how you get a number rather than an array from the slice method…
i sincerely don’t remember going through a project with this lesson… while i was reading the posts apparently there use to be a random color generator that utilized a random number generator between a range but that project wasn’t included in the course i’m doing…
Here are the hints:
Don’t use the full array as the parameter; you only need the first 2 elements. Use destructuring assignment to just use 2 elements of the array as parameters. Now you can just follow the instructions and get the results.