Build a responsive landing page using mobile-first approach.
- Create a new folder and open it in VSCode
- Copy
index.htmlandstyle.cssfrom this repository - Work through Tasks 1-9 in the files
- Test by resizing your browser window
- Use DevTools device mode (Ctrl/Cmd + Shift + I) to test specific sizes
- Start narrow (mobile), then drag wider to see breakpoints kick in
- Check at 320px, 768px, and 1024px specifically
- Test both portrait and landscape on tablet sizes
- Make sure nothing overflows or breaks at any width
| Breakpoint | Target |
|---|---|
| Base (no query) | Mobile phones |
| 768px | Tablets and up |
| 1024px | Desktops and up |
Check the solution folder for one approach.