+ 1

How to display an image while i press "click to go button"?

i can't open an image while i click the click to go button. Please help me to do so. https://code.sololearn.com/W8h2ObWj3sxX/?ref=app https://code.sololearn.com/W8h2ObWj3sxX/?ref=app

14th Oct 2019, 1:04 PM
Riyas Yacub
3 ответов
+ 3
SoloLearn cannot access files on your own system. Your <img> SRC attribute will not work.
14th Oct 2019, 1:11 PM
Daniel C
Daniel C - avatar
+ 3
Riyas Yacub As everyone said use another source for image. You want to display image when button clicked , so first hide it using display:none; /*css*/ You can use js(onclick event) or css(checkbox) for setting display property again to display:block; /*or whichever value you want */ Avoiding complete answer as it can be found here :D https://www.sololearn.com/discuss/1839145/?ref=app Endnote : you need to start js or css course in order to do this .
14th Oct 2019, 1:21 PM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 2
what image you want to show ?amd where you want to show it ?
14th Oct 2019, 1:09 PM
Taste
Taste - avatar