Question: Write the required JavaScript code so that when a user clicks on the Click me! button, the following is done. a Prompt the user to
Write the required JavaScript code so that when a user clicks on the "Click me!" button, the following is done. a Prompt the user to enter a number between 10 & 20. b. Pop up an alert message "wrong number" if the user enter number less than 10 or greater than 20 c Print the odd numbers from 1 to the number entered by user.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
