Question: Both HTML and JavaScript work very well b) Create a simple webpage containing three images with three different colors (e.g., a green triangle, a red

 Both HTML and JavaScript work very well b) Create a simple Both HTML and JavaScript work very well

b) Create a simple webpage containing three images with three different colors (e.g., a green triangle, a red square, and a pink circle). When an image is clicked an alert will appear with a text which shape was clicked, and when the image is clicked, it will change from image A to image B (any image you interested) by using JavaScript. Example as show on images below. Before click: After click

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!