how to make text appear when clicking on the picture, which would be removed by clicking on the picture again

I create a block diagram to achieve this function but for some reason it doesn’t work

Without seeing your blocks, we can’t tell you what you did wrong.

Post a screenshot or a link to your project.

Here is my block diagram

What you’re wanting is a “toggle.” And if you Google toggle Thunkable, you’ll see YouTube videos that explain how to set that up.

But the basic idea is shown in this post: