Thanks for coming to share your portfolio Project with other learners!
When posting your project for review, please be sure to include the following:
- Your review of the Project. Was it easy, difficult, just right?
- An estimate of how long it took you to complete
- The link to your code repo
We hope you enjoyed this project!
This is great!
In your randomNumber
function, I would do Math.floor(Math.random() * randomItems.length)
rather than hard coding the number 8. This way, if you ever wanted to add planets from another solar system, for example, you wouldn’t have to change both the array and the function.
Thanks for sharing!
1 Like
You are right, that was so hard coded. Thanks for the feedback and recommendations!
1 Like