+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

10/14/2019 1:04:07 PM

Riyas Yacub

3 Answers

New Answer

+3

SoloLearn cannot access files on your own system. Your <img> SRC attribute will not work.

+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 .

+2

what image you want to show ?amd where you want to show it ?