📘 CodingMarble Learn

UI and UX Design: Making Screens Easy and Pleasant to Use

Interface design is planning the screens people use on phones, computers, ATMs and machines. UI (user interface) is what you see and touch: buttons, icons, text, colours and layout. UX (user experience) is how the whole task feels: quick or slow, clear or confusing. Good interfaces put important things first (hierarchy), keep buttons big enough to tap (about 9 mm or 48 px), use strong colour contrast, stay consistent, give feedback after every action and need few steps. Designers study users, draw wireframes, build clickable prototypes and test them with real people, then improve.

🎬 Step-by-step story

  1. UI is what you see on a screen: buttons, pictures and words. UX is how using it feels: easy or confusing.
  2. Put the most important thing big and at the top. Put the main button low, where your thumb reaches.
  3. A tiny button is easy to miss. Buttons should be at least about 9 mm wide so a finger hits them.
  4. Light text on a light colour is hard to read. Dark with light, called high contrast, helps everyone.
  5. A user flow is the list of steps to finish a task. Count the taps. Fewer steps feel easier.
  6. Try it: change button size, contrast and steps. Watch the ease score go up or down.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Are UI designers and UX designers different people?

In big teams often yes; in small teams one person does both. The jobs overlap: one shapes the look, the other the whole journey.

Why not put the main button at the top where people look first?

On phones the thumb reaches the lower middle more easily, so the action button goes there while the title stays on top.

Why 48 px and not 48 mm?

48 density-independent pixels show as about 9 mm on most phones, roughly a fingertip pad.

Light colours look modern. Why avoid low contrast?

Many people, especially in sunlight or with weak eyes, simply cannot read it. Clear beats fashionable.

Is fewer steps always better?

Usually, but not if it hides important choices. A confirm step before a payment is worth it.

What are UI and UX?

An interface is the meeting place between a person and a machine. On a phone it is the screen; on a lift it is the button panel.

A beautiful UI can still give a bad UX if the task takes too long. A good designer cares about both.

Who is the user?

Designers first learn about real users: their age, skills, language, device and goals. A persona is a short made-up profile of a typical user, such as "Meena, 62, uses a phone mainly for video calls and payments."

Principles of a good screen

User flows, wireframes and prototypes

A user flow is the chain of screens a person goes through to finish one task, for example: open app → choose item → pay → done. Counting steps and taps shows where to cut.

Try it at home

Draw 4 phone screens on paper for "order a cup of tea". Ask a family member to "tap" with a finger while you swap the papers. Note where they hesitate, then redraw that screen.

Testing and designing for everyone

User testing: give real people a task, watch silently, note where they get stuck, then improve. Five users usually find most big problems.

Accessibility means everyone can use it, including people with weak eyesight, colour blindness, shaky hands or who use screen readers:

Good UX is also honest: no tricks that push people into buying or sharing data by mistake ("dark patterns").

Key formulas and definitions

Worked examples

1. A flow has these screens: Home, Search, Product, Cart, Address, Pay, Done. How many taps (moves between screens) are needed?

7 screens, so 7 − 1 = 6 taps. Saving the address after the first order could remove one screen and one tap.

2. A button is 5 mm wide on screen. Is it a good tap target? What would you change?

No, it is below about 9 mm. Make it at least about 9 mm (48 px) wide and tall, and leave space between neighbouring buttons.

3. A form shows errors only by turning the box red. Why is that a problem, and how do you fix it?

Colour-blind users may not see the red. Add a clear message in words ("Enter a 10-digit phone number") and an icon next to the box.

4. An app for older users has a small grey "Next" link in the top corner. Suggest three improvements.

Make it a large button (≥ 9 mm), place it low in the thumb zone, and give it high contrast (dark button with white text) and a clear word like "Continue".

Common mistakes

Practice quiz

1. UX is mainly about:
2. A simple box-sketch of a screen without colours is a:
3. A good minimum size for a touch button is about:
4. Showing a tick after a payment is an example of:
5. Which helps colour-blind users most?

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is the difference between UI and UX?

UI is the look and controls of a screen; UX is how the whole experience of using the product feels.

What are the steps of UI/UX design?

Understand users, plan the flow, draw wireframes, make a prototype, test with users and improve.

Do I need coding for UI/UX design?

No. You can design and prototype with paper or design tools; coding helps but is not required to start.

Where this is taught

NetherlandsHAVO 5 (eindexamenjaar)Interaction
NetherlandsHAVO 5 (eindexamenjaar)Elective theme: Usability
NetherlandsHAVO 5 (eindexamenjaar)Elective theme: User experience
NetherlandsVWO 6 (eindexamenjaar)Interaction
NetherlandsVWO 6 (eindexamenjaar)Elective theme: Usability
NetherlandsVWO 6 (eindexamenjaar)Elective theme: User experience
CBSE (India)Class 11Interface Design

Learn first

Learn next

Related lessons

All Computer Science lessons