+ 2

Hide an Image

How do I hide an image and there's a button that shows the image? Here's the code. https://code.sololearn.com/WmyO0q9otcjf/?ref=app

29th Jun 2020, 8:51 AM
Kayla Onobun (QOG)
Kayla Onobun (QOG) - avatar
3 Respostas
+ 2
You can use a toggle to hide/show your image on button click, this article will help you in doing this. Thank you https://www.w3schools.com/howto/howto_js_toggle_hide_show.asp
29th Jun 2020, 9:01 AM
Hardik Sharma
Hardik Sharma - avatar
+ 2
You're welcome
29th Jun 2020, 12:23 PM
Hardik Sharma
Hardik Sharma - avatar
+ 1
Thanks Hardik Sharma
29th Jun 2020, 9:16 AM
Kayla Onobun (QOG)
Kayla Onobun (QOG) - avatar