Image to Expand Popup and Collapse

Can someone help me? I have no clue how to do this coding thing and I am trying to do something simple.

I am trying to make an image clickable.
I need the image to expand into a text box but then be able to collapse back into the image.

Is that possible or would it need to be a button? Either way, it doesn’t matter.
Please and Thank you.

  1. Place 1x textbox and 1x image at same screen-place.
  2. Hide both of elements.
  3. ADD the following code…
$w.onReady(()=>{
	$w('#myImageIDhere').onClick(()=>{
		$w('#myImageIDhere').hide();
		$w('#myTextboxIDhere').show();
	});

	$w('#myTextboxIDhere').onClick(()=>{
		$w('#myImageIDhere').show();
		$w('#myTextboxIDhere').hide();
	});
});