0

How we check If image clicked in JS

I am loading 3 images on my screen and I want to make it when the user click any image a message will show up under it. How I can do something like: if(image is clicked ){ print the message } All what I am asking for is how I can write "image is clicked" ?

5th Nov 2020, 5:44 PM
Khaled ^^ ŰźŰ§Ù„ŰŻ Ű§Ù„Ù‚Ű±ÙŠŰŽÙŠâ€Ž
Khaled ^^ ŰźŰ§Ù„ŰŻ Ű§Ù„Ù‚Ű±ÙŠŰŽÙŠâ€Ž - avatar
1 Answer
5th Nov 2020, 5:52 PM
Steve Sajeev
Steve Sajeev - avatar