I've made this website and on the 'More Information' Page I want to display an image when the button is pressed but my javascript doesn't seem to be working. Any help would be appreciated!
@KatieKiely show_image is not a javascript function, you'll have to do this differently.
A few things come to mind, namely using css hidden and visible from classes on the image and manually adding and removing the image html from the div with js
How do I display images on the click of a button?
I've made this website and on the 'More Information' Page I want to display an image when the button is pressed but my javascript doesn't seem to be working. Any help would be appreciated!
A few things come to mind, namely using css hidden and visible from classes on the image and manually adding and removing the image html from the div with js