Since Session 11 you have visited hundreds of web pages. Today you switch sides: you become a web builder. You will plan a small website about your community, build it with Google Sites, publish it for the Hub, and then peek behind the curtain at HTML, the language every web page is written in.
Think of a family compound house. At the front is the gate with a signboard: that is the home page, the first page visitors see. Inside are rooms: those are the other pages. A corridor joins all the rooms: that is the menu (navigation bar). The doors that take you from room to room, or out to another house, are links. And just as every house can have a GhanaPost GPS digital address, every website has a web address (URL) so people can find it.
One single page, like one room. For example, the "Food" page.
A group of pages that belong together, with one name and one address, like the whole compound house.
No mason builds a house without a plan. Before you open Google Sites, answer three questions:
Why does this site exist? "To tell visitors about the good things in our town."
Who will read it? "Pupils at the Hub and visitors to our town." Write for them.
What rooms does the house need? Keep it small: 3 or 4 pages is plenty.
A sitemap is a quick drawing of all the pages and how they connect. It is like the family tree you drew for folders in Session 4: the home page is at the top.
| Planning question | My plan |
|---|---|
| Site name | |
| Purpose | |
| Audience | |
| Pages (3 or 4) |
Google Sites is a free website builder. You don't write any code: you click, type and drag, like making a slide in Session 23. Go to sites.google.com and sign in with the Hub's learning account.
| Move | How to do it |
|---|---|
| 1. Start a site | Click Blank site (+). Type the site name top-left (for example Our Bozoma) and click the big title on the page to change it. |
| 2. Add content | Insert tab β Text box, Images (Upload) or Map (search for a place, then Select). Drag blocks to move them. |
| 3. Add a link | Select some words, press Ctrl + K (or the π button), paste or choose the address and click Apply. |
| 4. Add pages | Pages tab β + at the bottom β New page β type its name β Done. It appears in the menu by itself. |
| 5. Choose a theme | Themes tab β pick one theme and one colour for the whole site. Every page then matches. |
| 6. Preview and publish | Click Preview π and use the phone, tablet and computer buttons to check every size. Then Publish (see Page 5). |
Google Sites writes the code for you, but every web page in the world is really made of HTML (HyperText Markup Language). HTML uses tags in angle brackets to tell the browser what each piece of the page is: a heading, a paragraph, a picture or a link.
| Tag | What it makes |
|---|---|
<h1>β¦</h1> | The main heading. (<h2> is a smaller heading, like the Heading styles in Session 17.) |
<p>β¦</p> | A paragraph of text. |
<a href="β¦">β¦</a> | A link. href holds the address it goes to; the words between the tags are what you click. |
<img src="β¦" alt="β¦"> | A picture. src is the picture file; alt describes it for people who can't see it. No closing tag. |
/ or > is a bug. Debug it like a coder: spot it, trace it, fix one thing.
Spot the bug: <p>Kelewele is the best snack<p> What is wrong?
Warm up in the Web Page Builder 3D lab on your session page: build a page about your community from blocks, then peek at the HTML behind it and change it. Then build the real thing.
| Builder's checklist | Done | Notes |
|---|---|---|
| Home page + at least 2 more pages in the menu | ||
| An allowed image, a map and a working link | ||
| One theme; checked in phone preview; no personal details | ||
| Published to the Hub. My web address: | ||
| my-page.html opens in the browser with h1, p, img and a |
| Statement | True | False |
|---|---|---|
| A website is a group of web pages joined by a menu and links, found at one web address. | ||
| It is fine to put a classmate's photo and phone number on your community website. | ||
| You should check how your site looks on a phone before you publish it. | ||
In HTML, <a href="β¦"> makes a picture. |
||
A closing tag has a slash, like </p>. |
Question 1: What three questions should you answer before you build a website, and what is a sitemap?
Question 2: Write the HTML for a heading that says Welcome and a paragraph that says Akwaaba to our town.
Tick the column that reflects your confidence at the end of Session 38:
| Web Building Competency | With Help | Almost Alone | All By Myself! |
|---|---|---|---|
| 1. I can plan a website: purpose, audience, pages and a sitemap. | |||
| 2. I can build pages in Google Sites with text, images, a map, links and a theme. | |||
| 3. I can preview a site on a phone and publish it safely to the Hub. | |||
| 4. I can write a tiny HTML page with h1, p, a and img and open it in a browser. |
BIH JHS Tech Club Β· a Bozoma Innovation Hub programme Β· Your answers are saved only on this computer.