Everything you have made so far has been on one page.
Today your site gets a second page, and a button on the first one that takes a reader to it.
By the end of the lesson your site will have:
A website is a set of pages that belong together.
Think of your school's site: one page about the school, one about the teachers, one with the holidays. Separate pages, one site.
Each page has its own blocks. What you put on one does not show on the other.
A button is how a reader gets from one to the other.
Your site needs a second page to put things on.
This is the block you need:
{"blocks": {"languageVersion": 0, "blocks": [{"type": "web_page", "fields": {"NAME": "Hobbies", "BG": "white", "FG": "black", "FONT": "sans-serif"}}]}}Check: you now have TWO blue page blocks side by side, the new one BESIDE your first and not inside it.
If it did not work: the new block went inside the first one. Drag it out on to the empty space.
Nothing can show your new page until a reader has a way to get there.
This is the block you need:
{"blocks": {"languageVersion": 0, "blocks": [{"type": "wp_button", "fields": {"TEXT": "See my hobbies", "TARGET": "Hobbies"}}]}}Check: the button sits near the top of your page, and its second box says Hobbies and not (no link).
If it did not work: the second box only offers (no link), so the page block is not there yet or is sitting inside your first page.
Now find out whether your button works.
Check: the page goes blank, with nothing on it. That is right, your new page is empty and you are now standing on it.
If it did not work: nothing happened, so go back to Blocks and check the button's second box says Hobbies.
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.