Intermediate
60 mins
Teacher/Student led
+140 XP

Choose How the Whole Site Looks

Decide how your site looks, and learn the difference that matters: a choice on the page block changes everything on that page at once, while a choice on any other block changes only itself.

Teacher Class Feed

Load previous activity

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

    Your site works. Today you decide how it looks.

    There are two kinds of choice, and knowing the difference is the lesson:

    • a choice on the page block changes the whole page at once
    • a choice on one block changes only that block

    By the end your site will have a look you picked, the same on every page.

    2 - Whole Site, or Just This Bit ~4 mins

    Every block has its own boxes. A heading has a colour box. A banner has a colour box. Change one and only that block changes.

    The page block has boxes too, and they are different: they set the background, the writing colour and the font for everything on that page.

    Designers call that the look of a site. Pick one and stick to it, or a visitor cannot tell your pages belong together.

    3 - Change the Whole Page Background ~7 mins

    One box on the page block recolours everything behind your writing.

    This is the block you need:

    {"blocks": {"languageVersion": 0, "blocks": [{"type": "web_page", "fields": {"NAME": "Home", "BG": "lightblue", "FG": "navy", "FONT": "Georgia, serif"}}]}}
    1. Click Blocks.
    2. Click the blue page block for Home.
    3. Pick a colour in its background box.
    4. Click Your web page.

    Check: the whole page has changed colour behind everything, not just one block.

    If it did not work: only one block changed colour, so you clicked a heading or a banner instead of the blue page block.

    Interactive activity

    4 - Change the Writing Colour and the Font ~6 mins

    The same block sets the colour and shape of all your writing.

    1. Click the page block again.
    2. Pick a colour in its text box.
    3. Pick something in its font box.
    4. Click Your web page.

    Check: every sentence on the page changed together, in one go.

    If it did not work: dark writing on a dark background is unreadable. Change one of the two until you can read it easily.

    Interactive activity

    5 - Now Change Just One Block ~6 mins

    See the difference between a whole-page choice and a one-block choice.

    This is the block you need:

    {"blocks": {"languageVersion": 0, "blocks": [{"type": "wp_banner", "fields": {"TEXT": "All About Hurling", "COLOUR": "seagreen"}}]}}
    1. Click Blocks.
    2. Click your banner block.
    3. Pick a different colour in its colour box.
    4. Click Your web page.

    Check: the banner changed and nothing else did. That is the difference.

    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