Crash Course · Beginner → Advanced

Web Design and UI/UX Fundamentals: The Complete Crash Course

Learn how professional websites are designed, using one example — the Bright Bakery website: UI vs UX, the design process, information architecture and sitemaps, layout grids and responsive breakpoints, UI components, visual design for the web, usability heuristics, accessibility, performance and the tools to build it.

Beginner → Advanced13 min readInterview Q&A

UI vs UX vs Web Design

UX (user experience) designHow easy and pleasant it is to achieve a goal: research, structure, flows, usability.
UI (user interface) designHow the screens look and behave: layout, colours, type, buttons, states.
Web designApplying UX and UI to websites, plus responsive layout and web constraints.

Example goal for Bright Bakery: let a customer order a custom cake on a phone in under three minutes.

Course Path

The UX Design Process

  • Research — interviews, surveys, analytics, competitor review.
  • Define — personas, problems, goals. Persona: “Aisha, 32, orders birthday cakes on her phone during lunch breaks; needs prices and delivery dates fast.”
  • Ideate — sitemaps, user flows, sketches.
  • Prototype — wireframes and clickable prototypes.
  • Test — usability tests with 5 users find most major problems.
  • Build and measure — launch, then track with GA4 and improve.

Information Architecture, Sitemap and User Flow

Information architecture (IA) organises content so people find things. Bright Bakery sitemap:

Home
├── Cakes (Birthday, Wedding, Custom)
├── Order Online
├── About Us
├── Blog / Recipes
└── Contact & Location

User flow for ordering: Home → Cakes → Choose cake → Customise (size, flavour, message) → Choose date → Checkout → Confirmation email. Keep navigation to about 5–7 top items with clear labels.

Layout: Grids, Visual Hierarchy and Scanning Patterns

  • 12-column grid on desktop (4 on mobile) keeps elements aligned.
  • Spacing system in multiples of 8 px (8, 16, 24, 32…) for consistent rhythm.
  • F-pattern — text-heavy pages are scanned along the top and down the left side.
  • Z-pattern — simple pages: logo → top-right CTA → diagonal → bottom CTA.
  • Put the value proposition and main action high on the page.
  • Use contrast, size and white space to create hierarchy.

Responsive Design and Mobile-First

Responsive design adapts one site to every screen. Mobile-first means designing for the small screen first, then enhancing for larger ones — most traffic is mobile.

Common breakpointDevice
< 600 pxPhones
600–1024 pxTablets
> 1024 pxLaptops and desktops
.cakes { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px)  { .cakes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cakes { grid-template-columns: repeat(4, 1fr); } }

Touch targets at least about 44–48 px; body text at least 16 px.

UI Components and Design Systems

  • Buttons — primary (one per screen), secondary, with hover, focus, disabled and loading states.
  • Forms — labels above fields, helpful error messages, only necessary fields.
  • Cards — image, title, price, action (cake cards).
  • Navigation — header menu, hamburger on mobile, breadcrumbs, footer links.
  • Feedback — toasts, alerts, progress steps.

A design system collects colours, type scale, spacing and components so every page stays consistent (examples: Google Material Design, IBM Carbon).

Usability: Nielsen’s 10 Heuristics

  1. Visibility of system status (show “Order received”).
  2. Match between system and the real world (plain words).
  3. User control and freedom (easy undo, back, cancel).
  4. Consistency and standards.
  5. Error prevention (date picker only shows available days).
  6. Recognition rather than recall (show the cart contents).
  7. Flexibility and efficiency (reorder previous cake).
  8. Aesthetic and minimalist design.
  9. Help users recognise and recover from errors.
  10. Help and documentation (FAQ on delivery).

Accessibility (WCAG)

The WCAG guidelines follow four principles — Perceivable, Operable, Understandable, Robust (POUR).

  • Text contrast at least 4.5:1 (see colour).
  • Alt text on meaningful images: alt=”Three-tier chocolate birthday cake”.
  • Everything usable by keyboard with visible focus.
  • Form fields with real <label> elements.
  • Semantic HTML: headings in order, buttons as <button>.

Performance and SEO Basics

  • Compress images, use WebP/AVIF and correct sizes; lazy-load below the fold.
  • Meet Core Web Vitals: LCP ≤ 2.5 s, INP ≤ 200 ms, CLS ≤ 0.1.
  • One H1 per page, descriptive titles, clean URLs.

Tools to Design and Build

FigmaDesign and prototype screens
WordPress (with a block theme or page builder)Flexible sites and blogs
Webflow, FramerVisual building with clean code
Shopify, WooCommerceOnline stores
HTML, CSS, JavaScriptFull control (see the Programming section)

Key Takeaways

  • UX = ease of achieving goals; UI = look and behaviour.
  • Research → define → ideate → prototype → test → build.
  • Sitemap and user flows before visuals.
  • Grids, spacing and hierarchy; mobile-first.
  • Follow usability heuristics and WCAG.
  • Fast pages help users and SEO.

Interview Questions

What is the difference between UI and UX?

UX focuses on the overall experience and ease of achieving goals; UI focuses on the visual and interactive elements of the interface.

What is responsive web design?

Designing a single website that adapts its layout to different screen sizes using fluid grids, flexible images and media queries.

What does mobile-first mean?

Designing for small screens first and progressively enhancing the layout for larger screens.

What is information architecture?

Organising and labelling content and navigation so users can find information easily.

Name three of Nielsen’s usability heuristics.

Visibility of system status, consistency and standards, and error prevention (others include user control and recognition over recall).

What are the WCAG principles?

Perceivable, Operable, Understandable and Robust (POUR).

What is a design system?

A shared library of styles, components and guidelines that keeps a product’s design consistent.

How many users do you need for a usability test?

Around five users typically reveal most major usability problems in each round of testing.

Exam Quick Revision

  • UX = experience; UI = interface.
  • Research → define → ideate → prototype → test → build.
  • Sitemap + user flow first.
  • 12-column grid; 8-px spacing.
  • F-pattern and Z-pattern.
  • Breakpoints ≈ 600 / 1024 px; mobile-first.
  • Touch target ≈ 44–48 px.
  • WCAG POUR; contrast 4.5:1.

Continue Learning

Scroll to Top