Question: Question 16 Write the required JavaScript code so that when a user clicks on the Click me! button, the following is done: a. Prompt the
Question 16 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. >Click Me
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
