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).

 Q.No.7. (Marks: 10) Create a web page that contains three buttons

Hide Images Show Images Swap Height Hide Images Show Images Swap Height

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!