How i can make a button which when is clicked appears a image? (i work in html) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How i can make a button which when is clicked appears a image? (i work in html)

Hello ! I want to make a button which makes to appear a image when is clicked

14th Oct 2019, 2:32 PM
Scythestorm
Scythestorm - avatar
3 Answers
14th Oct 2019, 2:33 PM
Taste
Taste - avatar
+ 1
Please do not write a sentence (a question) in Relevant Tags 👍
14th Oct 2019, 3:08 PM
Ipang
0
Using JQuery: $(‘#buttonID’).click(function () { $(‘img’).show(); };
16th Oct 2019, 1:59 PM
Rora