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

Free lesson

OS 4.3 (2 of 12): UI design: wireframes and prototypes

The whole lesson, free. Read it and have a go at the activities. To work the tasks and labs in the real lesson, press Start lab, with no account needed.

45 minutes

A quick check that you are not a bot, then your own lab opens on the interactive lesson.

Already have an account? Sign in

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 you can click through. Nothing works behind it.
LayoutWhere things are placed on a screen.
ComponentA reusable part of a screen.
FeedbackWhat the users say about the design after they try it.

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

A wireframe made of grey boxes

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>

Make a free account to save your work and track your progress.

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 on purpose. 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

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.

Click between two 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>

Make a free account to save your work and track your progress.

Match each UI word to its meaning

Have a go

Loading…

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

Build a three-screen prototype

Make a clickable prototype of a bus app with three screens: Home, Tickets and Pay. Home has a See tickets button. Tickets shows two tickets and has Back and Pay buttons. Pay says "Ticket bought" and has a Home button. Use the same button style on every screen. Keep a short style guide in a comment at the top of the CSS.

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>

Make a free account to save your work, or press Start lab to work through the whole lesson.

Draw the flow between screens

A screen flow shows how a user moves between screens. Finish this flow for the bus app. Add the Pay screen and a Back arrow. Add one error screen for a failed payment. Name each arrow with the button the user presses.

flowchart LR
  home[Home] -->|See tickets| tickets[Tickets]
  %% Add Pay, the Back arrow and an error screen.

Make a free account to save your work, or press Start lab to work through the whole lesson.

Exit quiz

Have a go

Exit quiz

5 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

Teach this lesson with your class

On a college account your students work the tasks and the labs as well, and every mark is kept for you.