first of all I am new in javascript and in this forum. I appreciate if you can help me in the following: I have a website with 9 buttons and 9 images. The idea is to press a button, a sound is played (I already have it working). What I need is that when I weigh on an image, it must correspond with the sound. Example if a button is pressed and the sound of the chick is heard, the user if he selects the chick image, will show him a message, if he selects another image, he should show him an error message.
For clarity, this is the image of the web:
Thank you very much for the ideas you can give me.