How do you make an image appear when a button is clicked with JavaScript?

I would appreciate if someone could explain the logic behind their code as I’m new to javascript! Thank you so much in advance! https://code.sololearn.com/WoEqahKki902/?ref=app

2/14/2020 9:01:53 PM

tori the crafter 💛

4 Answers

New Answer




tori the crafter 💛 it's JavaScript


thanks Mirielle👽 did you use jquery?


When the button is clicked, the image element visibility is changed from none to visible