Text pop up when you click a picture


does anybody know a simple way to make text pop up when you click on a picture?

I want to make a quizz with 4 pictures that can be clicked on.
when you choose the right picture, there should be a “yes you’re right” popup and when you click one of the other pictures, there should be a texp popping up saying that they’re wrong.

Is this possible with minor knowledge of html/ css?

@lsprnk, A search with Google returned the following sample: Pure css popup box - CodePen. Follow the link and see the popup in action.

If you replace:

<a class="button" href="#popup1">Let me Pop up</a>


<a class="button" href="#popup1"><img src="path/to/image"></a>

You should have an image that shows a popup when clicked.