Question: Q.No.7. (Marks: 10) Create a web page that contains three buttons and two images. To meet the requirements follow the instructions given below by writing
Q.No.7. (Marks: 10)
Create a web page that contains three buttons and two images. To meet the requirements follow the instructions given below by writing JavaScript and jquery:
- When user clicks the Hide Images button, both images should be vanished (jquery).
- When user clicks the Show Images button, both images should be appeared again (jquery).
- When user clicks the swap button, the height of both images should be swapped (JavaScript).
Q.No.7. (Marks: 10)
Create a web page that contains three buttons and two images. To meet the requirements follow the instructions given below by writing JavaScript and jquery:
- When user clicks the Hide Images button, both images should be vanished (jquery).
- When user clicks the Show Images button, both images should be appeared again (jquery).
- When user clicks the swap button, the height of both images should be swapped (JavaScript).

Hide Images Show Images Swap Height Hide Images Show Images Swap Height
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
