Looking at the html:
- Why is the naming of the variables different for the both cards? Make it “imagechoice1” and “imagechoice2” etc. Both card should be basically identical but for numbers that differentiate them.
- Both “Buttons” use
chooseImage()
as a click handler - how should this method know which one of these buttons was clicked and then decide where to “put” the image? You need at least a parameter for that call here.