UI design principle: alignment
A UI design principle that lines up elements along common edges or centres, such as a left edge or grid, so the layout looks tidy and is easy to scan.
Understanding UI design principle: alignment in VCE Software Development U3O2
What it does: Giving the labels and inputs the same left position means they share one left edge, which is left alignment. repeat(3, 1fr) creates three equal columns, so the cards line up neatly along shared column edges. Misaligned elements have no shared edge or centre. This makes the screen look untidy and harder to scan. Left-aligned text gives a strong common edge. Users can scan down the start of each line quickly. A grid gives common edges and centres for elements to snap to. This keeps the layout consistent. Alignment organises where elements sit. Contrast makes elements stand out by using differences such as colour or size.
Common mistakes: A row puts the items side by side, so they no longer share one left edge. Use flex-direction: column so the items stack and line up along the left. align-items works vertically inside each cell. To line up the items along the left edge of each column, use justify-items: start.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 110–119) and word search (Modules 86–119).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
alignmentFill in the Blanks
Spot the Error
Student with a class code? Join your class →