Programming
Don't understand

Question Description

  • Show a message that says "See nearest location" and your image of your bank or ATM.
  • Write the code so that when you click either the message or the image, you see a new message "See the site" and shows the image of your location.
  • Your code should toggle back and forth between "See nearest location" showing the bank or ATM and the message "See the site" and the image of the location.
Does anyone understand/know what i'm suppose to be doing here??
Need help

Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

Final Answer

I know,
you need to create a label with text "See nearest location" and an image box (with an image of your bank or ATM.).
OnClick on both the elements you have to write an event handler which would change the text and the image in the label and image box to "See the site" and the image of your location respectively.

And when you click on this label and image box again the previous label text and image should reappear

dagrawal (611)
UIUC

Anonymous
Just what I was looking for! Super helpful.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4