Intermediate
60 mins
Teacher/Student led
+155 XP

A Second Page, and a Button to Reach It

Turn your one page into a site: add a second page block, give it a heading, a sentence and a picture of its own, then put a button on the first page that opens it.

Teacher Class Feed

Load previous activity

    1 - Start: What We're Building ~5 mins

    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:

    • two separate pages
    • a heading, a sentence and a picture on the new one
    • a button on your first page that opens it

    2 - A Site Is More Than One Page ~4 mins

    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.

    3 - Add a Second Page ~7 mins

    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"}}]}}
    1. Click Page on the left.
    2. Drag a page block on to the empty workspace.
    3. Click its white box and type Hobbies.

    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.

    Interactive activity

    4 - Build a Button to Reach It ~7 mins

    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"}}]}}
    1. Click Links and buttons on the left.
    2. Drag a button block under the big heading on your Home page.
    3. Type See my hobbies in its first box.
    4. Choose Hobbies in its second box.

    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.

    Interactive activity

    5 - Travel to Your New Page ~5 mins

    Now find out whether your button works.

    1. Click Your web page.
    2. Click your button.

    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.

    Interactive activity

    DigitalSkills.org · Online learning platform

    Unlock the full learning experience

    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.

    Hundreds of curriculum-aligned lessons
    Interactive activities in every lesson
    Printable resources & progress tracking
    Copyright Notice
    This lesson is copyright of DigitalSkills.org 2017 - 2025. Unauthorised use, copying or distribution is not allowed.
    🍪 Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more