💻 For developers

Design Basics

Hierarchy, spacing, contrast, typography, and layout

What you'll build
📘A solid foundation
Practice in the browser
🎯Mini-projects
🎓Course certificate
📘 30 lessons1-2 evenings🎓 For beginners
🎯 Mission
Master Design Basics
+350XP
🏆CertificatePDF
🎓Course complete
Progress0 / 30 · 0%
Next up: What is UI design

Course program

01

Visual hierarchy and foundations

0 / 5 lessons
  1. 01

    What is UI design

    An interface as communicationThree principlesPractice in CSS⚡ +10
    ▶ Now
  2. 02

    Visual hierarchy: what is read first

    Size — the main toolThickness and weightThe accent element⚡ +10
    Open
  3. 03

    One primary action

    The primary buttonSecondaryHierarchy variants⚡ +10
    Open
  4. 04

    Size, weight, color — the hierarchy trio

    The font-size scalefont-weight valuesPrimary/secondary text⚡ +10
    🔒 Pro
  5. 05

    Consistency: identical elements look identical

    Reusing a CSS classA consistent color schemeA repeating pattern⚡ +10
    🔒 Pro
02

Spacing and white space

0 / 5 lessons
  1. 06

    padding vs margin: the difference

    Inner spacing: paddingOuter spacing: marginBox-model basics⚡ +10
    🔒 Pro
  2. 07

    White space — «room to breathe»

    Space improves readingThe line-height valueUsing max-width⚡ +10
    🔒 Pro
  3. 08

    The 8px grid: a system for spacing

    The 8px grid principlegap in flexboxConsistent spacing⚡ +10
    🔒 Pro
  4. 09

    Density: compact vs comfortable

    A dense interfaceA spacious interfaceConsidering the audience⚡ +10
    🔒 Pro
  5. 10

    Spacing practice: a profile card

    Combined spacinggap and paddingA real component⚡ +10
    🔒 Pro
03

Color and contrast

0 / 5 lessons
  1. 11

    Color theory basics

    Primary/secondary colorsThe HEX formatA color palette⚡ +10
    🔒 Pro
  2. 12

    Contrast: readability per WCAG

    The WCAG 4.5:1 ruleDark text on a light backgroundChecking contrast⚡ +10
    🔒 Pro
  3. 13

    Semantic colors: green, yellow, red

    Color with meaningMessage componentsDanger/Warning/Success⚡ +10
    🔒 Pro
  4. 14

    Brand color and accent

    The primary brand colorThe hover effectCSS custom properties⚡ +10
    🔒 Pro
  5. 15

    Gradient and box-shadow

    linear-gradientbox-shadow levelsThe depth effect⚡ +10
    🔒 Pro
04

Typography

0 / 5 lessons
  1. 16

    Choosing a font: sans-serif basics

    The font-family stackThe system-ui fontGoogle Fonts⚡ +10
    🔒 Pro
  2. 17

    The typographic scale

    Size levelsThe h1–h4 hierarchyText rhythm⚡ +10
    🔒 Pro
  3. 18

    letter-spacing and text-transform

    Letter spacingUPPERCASE textLine rhythm⚡ +10
    🔒 Pro
  4. 19

    Text alignment and width

    text-align optionsThe ch unitReadable line length⚡ +10
    🔒 Pro
  5. 20

    Typography practice: an article page

    Full article styleHeading + metaLine rhythm⚡ +10
    🔒 Pro
05

Layout, alignment and grids

0 / 5 lessons
  1. 21

    Flexbox: alignment and distribution

    display flexjustify-contentalign-items⚡ +10
    🔒 Pro
  2. 22

    CSS Grid: column grids

    grid-template-columnsgap in a gridThe fr unit⚡ +10
    🔒 Pro
  3. 23

    Sidebar layout: fixed + flexible column

    Sidebar + contentGrid column widthsA fixed-width column⚡ +10
    🔒 Pro
  4. 24

    Centering: horizontal and vertical

    margin: 0 autoplace-items: centerAbsolute centering⚡ +10
    🔒 Pro
  5. 25

    Responsive: media queries

    @media breakpointThe mobile-first strategyA flexible grid⚡ +10
    🔒 Pro
06

Components and mini-projects

0 / 5 lessons
  1. 26

    The button component: a variant system

    Primary/Secondary/Ghosthover and active statesThe disabled style⚡ +10
    🔒 Pro
  2. 27

    Input field: label, placeholder, focus

    input styleThe focus ringForm accessibility⚡ +10
    🔒 Pro
  3. 28

    Mini-project: a product card

    A full cardImage + text + CTAA real UI component⚡ +10
    🔒 Pro
  4. 29

    Mini-project: a hero section

    Hero layoutCTA buttonsA complete section⚡ +10
    🔒 Pro
  5. 30

    Mini-project: an authentication form

    A login formAll componentsCourse conclusion
    Course complete
    🔒 Pro
Design Basics — online coding course