Question: an HTML page that includes a JavaScript script in the body section. The script should pop up a prompt dialog box and ask for an
an HTML page that includes a JavaScript script in the body section. The script should pop up a prompt dialog box and ask for an integer value.After getting the value, determine if the value is negative, zero, or positive, and determine if the number is odd or even. Create some HTML tags and text to display these two facts in the page.
JavaScript section in the body [1 point]
Prompt dialog box correctly coded [1 point]
Value returned correctly from dialog box [1 point]
Logic correct to determine <,==,>, odd, even [1 point]
HTML correct to display results [1 point]
Copy and paste a screenshot of the output gotten by running the code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
