Question: Visual Studio Code Create a Javascript code that randomly picks 5 random numbers from a range 0 - 9 . There should be a function

Visual Studio Code Create a Javascript code that randomly picks 5 random numbers from a range 0-9. There should be a function when clicking the Pick 5! button that will generate 5 random numbers from 0-9. The button must work in this javascript project to generate the numbers. Here is the starter Javascript code: function pick5(){
'use strict';
}
function init(){
'use strict';
document.getElementById('generate').onclick = pick5;
}
window.onload = init;
 Visual Studio Code Create a Javascript code that randomly picks 5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!