Sub topic 3
Assemble the High-Fidelity Mockup
Assume you can read a basic wireframe and know common HTML and CSS terms. A high-fidelity mockup adds the visual decisions that the wireframe leaves out: typography, color, imagery, spacing, borders, and component states.
Assemble the high-fidelity mockup
Start with the approved wireframe. Replace placeholders with realistic content, then apply the layout grid, type scale, and spacing scale. Keep the primary call to action visually distinct, but do not make every element compete for attention.
Store repeated decisions as design tokens. Tokens are named values for choices such as colors, font sizes, and spacing. They make later changes consistent.
:root {
--space-2: 1rem;
--space-4: 2.5rem;
--color-text: #1a1a1a;
--color-background: #ffffff;
--color-accent: #0b5fff;
--size-body: 1rem;
--size-title: 2.5rem;
}Use real or representative images with known dimensions. Check that crops support the content instead of hiding important details. Create reusable components for navigation, buttons, feature cards, and testimonials.
Adapt the design across breakpoints
A breakpoint is a width at which the layout changes. Design from the smallest supported width upward. Stack columns on mobile, add columns when space allows, and preserve comfortable touch targets.
.features {
display: grid;
grid-template-columns: 1fr;
gap: var(--space-2);
}
@media (min-width: 48rem) {
.features {
grid-template-columns: repeat(3, 1fr);
}
}Do not treat tablet and desktop as separate pages. Define how each component responds as available space changes.
Check contrast, text size, and structure
Test text against its background, including text inside buttons and images. Use readable body text and a clear heading hierarchy. Confirm that headings follow a logical order, landmarks such as main and nav exist, links describe their destinations, and every interactive element works with a keyboard.
Gather feedback and iterate
Ask reviewers to complete a realistic task, such as finding pricing or signing up. Record observed problems separately from suggested solutions. Fix issues that block the primary goal first, then repeat the test.
Prepare the handoff
Share the final mockup, responsive states, design tokens, component states, content notes, image assets, and accessibility decisions. Mark unresolved questions clearly. A developer should not need to infer spacing, behavior, or which version is current.
Exercise
What should you define before adding visual styling to a homepage?
Show answer
Define its audience, goal, primary call to action, content hierarchy, and wireframe structure.