New course! Every coder should learn Generative AI!
Try a free lesson+ 3
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 Answers
+ 1
thanks Mirielle๐ฝ did you use jquery?
0
When the button is clicked, the image element visibility is changed from none to visible