Today you will hide a surprise on your site.
A reader will see a reveal. When they open it, something new appears on the same page.
You choose the words on the reveal. You choose what is hiding inside.
So far, a button takes a reader to another page.
A reveal looks a bit like a button, but it stays on this page and opens hidden content.
You put other blocks inside the reveal. That is where the surprise lives.
A reveal hides something until a reader clicks it.
This is the block you need:
{"blocks": {"languageVersion": 0, "blocks": [{"type": "wp_reveal", "fields": {"TEXT": "Click to see what I scored"}}]}}Check: a small closed reveal sits on the page, with nothing showing inside it yet.
The words on the outside are what make somebody want to open it.
Check: the closed reveal makes you want to open it, without giving the answer away.
You're previewing this lesson. Get full access to this lesson and hundreds more — each one ready to teach, with interactive activities, printable resources and pupil progress tracking built in.