Question: create a simple page that displays a sign or a picture that indicates Schools. There will be a button located below the main picture that
create a simple page that displays a sign or a picture that indicates Schools. There will be a button located below the main picture that says choose School. When button is clicked, it should now display a "university" picture, and if you click it again, it will display a "High School" picture if the user keeps clicking on the button, the images swap back and forth between both pictures.
- Use HTML with good formatting, including the DOCTYPE, meta charset element
- Use an external JavaScript file and appropriate script source link.
- The scripts should be in a subfolder inside the folder where the HTML files are
- The images will be in a separate subfolder
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
