Question: Create a JavaScript that prompts the user to enter a number and then displays a count of all numbers up to that number. Enter a
Create a JavaScript that prompts the user to enter a number and then displays a count of all numbers up to that number.

Enter a Number to count to... A prompt window asks the user to enter a number. Cancel OK 012 3 4 5 6 7 After the user clicks okay, the HTML page displays all the numbers counting to the entered number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
