Intermediate
60 mins
Teacher/Student led
+155 XP

A List of Your Favourites

Add a list of four favourite things to your page and find out that a list block is only a holder: it shows nothing at all until you put item blocks inside it.

Teacher Class Feed

Load previous activity

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

    Today your page gets a list.

    A list is the tidy way to show four favourite things without writing four sentences.

    By the end of the lesson your page will have:

    • a heading for your list
    • a list with four things in it
    • the things in the order you mean
    the finished page you are building today

    2 - A List Is Two Kinds of Block ~5 mins

    A list needs two kinds of block.

    • The list block is the holder. It goes on the page.
    • An item block is one thing in the list. It goes inside the list block.

    Four things in your list means one list block and four item blocks.

    Both of them live in the List group, not in Content.

    3 - Name Your List ~6 mins

    Your list needs a name, so a reader knows what it is.

    This is the block you need:

    {"blocks": {"languageVersion": 0, "blocks": [{"type": "wp_heading", "fields": {"TEXT": "My Top Four", "COLOUR": "default", "SIZE": "normal", "ALIGN": "left"}}]}}
    1. Click Content on the left.
    2. Scroll to the bottom of your blocks.
    3. Drag a heading block to the very bottom.
    4. Click its white box and type something like My Top Four.

    Check: your new heading is at the very bottom of the page.

    Interactive activity

    how your page should look after this step

    4 - Add the List Block, and Watch ~6 mins

    Now the list itself. Watch the page carefully when you add it.

    This is the block you need:

    {"blocks": {"languageVersion": 0, "blocks": [{"type": "wp_list"}]}}
    1. Click List on the left.
    2. Drag a list block under your new heading.
    3. Click Your web page.

    Check: nothing appeared. That is not a mistake and you have not broken anything. The list is there, but it is empty, and an empty list has nothing to show.

    Interactive activity

    your list block is there, but it shows nothing yet

    5 - Put One Thing Inside It ~6 mins

    Give the list something to hold.

    This is the block you need:

    {"blocks": {"languageVersion": 0, "blocks": [{"type": "wp_list", "inputs": {"ITEMS": {"block": {"type": "wp_list_item", "fields": {"TEXT": "Pancakes"}}}}}]}}
    1. Stay in List.
    2. Drag an item block inside the list block, where it opens out.
    3. Click its white box and type one thing you like.
    4. Click Your web page.

    Check: one thing shows in your list.

    If it did not work: nothing appeared, so the item is beside the list rather than inside it. Look for it sitting on its own and drag it in.

    Interactive activity

    how your page should look after this step
    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