How do I create a JavaScript random number generator with a range of 0-10?


I also have to list the number in the p tag num-display, and use an event listener to associate randomNum with num-display.