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
| Word | What it means |
|---|---|
| User interface (UI) | The screens, buttons and words a user sees and touches. |
| Wireframe | A simple black-and-white drawing of a screen. It shows layout, not style. |
| Style guide | A document that sets the colours, fonts, spacing and button styles for a product. |
| Clickable prototype | A model of the product you can click through. Nothing works behind it. |
| Layout | Where things are placed on a screen. |
| Component | A reusable part of a screen. |
| Feedback | What 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
<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
| Tool | What it is | When you make it | Who looks at it |
|---|---|---|---|
| Wireframe | A grey drawing of each screen | First | The team and the client |
| Style guide | The colours, fonts, spacing and button styles | After the layout is agreed | Designers and developers |
| Clickable prototype | Screens you can click through | Before coding | Real users, for testing |
The cells students fill in are left blank in this preview.
Quick check
Have a go
Quick check
3 questionsA mini style guide
| Part | Rule | Example |
|---|---|---|
| Main colour | Used for main buttons | Green, #0a7d32 |
| Text colour | Dark text on a light background, so it is easy to read | Almost black, #222 |
| Heading font | One font for all headings | Sans-serif, bold, 24 px |
| Spacing | The same gap between items | 16 px (a px is a pixel, one tiny dot of the screen) |
| Buttons | The same shape and size everywhere | Rounded, 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
<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.
<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