Question: Write HTML and JavaScript codes so that the web page displays two text fields and a button Calculate as follows: Enter the 1st number:

Write HTML and JavaScript codes so that the web page displays two text fields and a button "Calculate" as follows: Enter the 1st number: Enter the 2nd number: Calculate When the user enters two numbers into the two text fields and clicks the button "Calculate", then a message is displayed on the web page showing the minimum number, the maximum number, and the sum of the two numbers as illustrated by the following example: Enter the 1st number: 15 Enter the 2nd number: 5 Calculate Min 5, Max-15, Sum = 20 Question 5 (10 marks). Write HTML and JavaScript codes so that the web page displays five animal images and four "Switch" buttons as follows. Switch Switch Switch Switch Whenever the user clicks on a switch button, the two images next to the button switch their places.
Step by Step Solution
There are 3 Steps involved in it
Sure here is the HTML and JavaScript code Html and javaScript code DOCTYPE html html head head body ... View full answer
Get step-by-step solutions from verified subject matter experts
