Write meaningful HTML
Use headings, paragraphs, navigation, lists, forms and landmarks to give a page a clear structure. Semantic HTML helps assistive technologies and makes the document easier to maintain.
Style with modern CSS
Learn the box model, spacing, typography, flexbox, grid, positioning and media queries. Prefer reusable classes and consistent spacing rather than repeating one-off styles.
Use a mobile-first approach
Start with a narrow screen and progressively enhance the layout for tablets and desktops. Check navigation, buttons, forms, images and text wrapping at several viewport sizes.
Test accessibility
Provide visible focus states, sufficient colour contrast, descriptive link text and useful image alt text. A responsive website should be usable with a keyboard as well as a touch screen.



