Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

UI design: wireframes and prototypes

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

45 minutes

Sketch before you build

An architect (a person who designs buildings) draws a house before the builders start. A mistake on paper costs nothing. A mistake in a built wall costs much more.

Software designers do the same. They draw screens first. Then they test the drawing with real people.

Key words

WordWhat it means
User interface (UI)The screens, buttons and words a user sees and touches.
WireframeA simple black-and-white drawing of a screen. It shows layout, not style.
Style guideA document that sets the colours, fonts, spacing and button styles for a product.
Clickable prototypeA model of the product that you can click through. The buttons only move between screens. Nothing really works behind them.
LayoutWhere things are placed on a screen.
ComponentA reusable part of a screen, such as a button or a menu.
FeedbackWhat the users say about the design after they try it.

The cells students fill in are left blank in this preview.

Try it: a wireframe

Code: web
<div class="screen">
  <div class="box">Logo</div>
  <div class="box tall">Map: where is my bus?</div>
  <div class="box">Button: Buy a ticket</div>
  <div class="box">Menu: Home | Tickets | Help</div>
</div>

What is a wireframe?

A wireframe is a very simple drawing of one screen. It uses grey boxes and plain words.

It has no colour and no real pictures. That is the plan. People look at the layout, not at the colour. Changing a box takes one minute.

Three UI design tools

ToolWhat it isWhen you make itWho looks at it
WireframeA grey drawing of each screenFirstThe team and the client
Style guideThe colours, fonts, spacing and button stylesAfter the layout is agreedDesigners and developers
Clickable prototypeScreens you can click throughBefore codingReal users, for testing

The cells students fill in are left blank in this preview.

Quick check

Have a go

Quick check

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

A mini style guide

PartRuleExample
Main colourUsed for main buttonsGreen, #0a7d32
Text colourDark text on a light background, so it is easy to readAlmost black, #222
Heading fontOne font for all headingsSans-serif, bold, 24 px
SpacingThe same gap between items16 px (a px is a pixel, one tiny dot of the screen)
ButtonsThe same shape and size everywhereRounded, 40 px high

The cells students fill in are left blank in this preview.

The clickable prototype

A clickable prototype looks like the real product. You can click a button and move to the next screen.

But nothing really works behind it. A Pay button only shows the next screen. It takes no money. It is only for testing. Watch a user try it. If they cannot find their way, change the design before you write the real code.

Try it: click between screens

Code: web
<div id="home" class="screen">
  <h1>Home</h1>
  <button id="go-list">See tickets</button>
</div>
<div id="list" class="screen" hidden>
  <h1>Tickets</h1>
  <!-- Add two tickets and a Back button. -->
</div>

The lesson goes on

4 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.