This homework focuses on implementing a responsive, mobile-first layout with multiple breakpoints
and a fully functional mobile menu. The design is optimized for different devices and screen densities.
All styles are written in css/styles.css, with modern-normalize enabled and
Prettier used for formatting.
Live Demo: https://kutluhangil.github.io/goit-markup-hw-06/
- About the Project
- Acceptance Criteria (Mentor Checklist)
- Responsiveness Requirements
- Mobile Menu Requirements
- Design Approach
- Project Structure
- Validation & Formatting
- How to Run
- Layout adapts to three breakpoints: 320px, 768px, 1158px.
- Responsive images support x1 and x2 pixel densities.
- Background images adapt via
min-resolutionmedia queries. - Mobile-first CSS approach with
min-widthqueries. - Fully styled mobile navigation menu with toggle class
.is-open.
- A1 — On any device ≥320px wide, no horizontal scrollbars appear.
- A2 — Code formatted with Prettier.
- A3 — All images and text taken from the mockup.
- A4 — modern-normalize is enabled.
- A5 — Code follows guidelines.
- B1 — Each page includes the
<meta name="viewport">tag. - B2 — Layout adapts to three breakpoints: 320px, 768px, 1158px.
- B3 — Backgrounds and content bitmaps are responsive and support x1 and x2 densities.
- B4 — Background images are set with
min-resolutionmedia queries. - B5 — Styles follow the mobile-first approach with
min-widthqueries. - B6 — Styles needed only within a range are wrapped in
(min-width) and (max-width)queries. - B7 — Media queries avoid redundant style duplication.
- C1 — All mobile menu elements are implemented.
- C2 — Mobile menu elements are styled.
- C3 — Menu width matches the design.
- C4 — Menu covers the full viewport height.
- C5 — Menu is hidden by default.
- C6 — Adding
.is-openmakes the menu visible.
- Mobile First — Base styles are defined for mobile, enhanced progressively for tablet and desktop.
- Responsive Images — Bitmap assets exported in both x1 and x2 resolutions.
- Accessible Menu — Mobile menu toggled with a class, spans full screen height.
- Consistent Media Queries — No repeated or conflicting styles.
.
├─ index.html
├─ css/
│ └─ styles.css
├─ images/
│ ├─ ... responsive images (x1, x2)
│ └─ ...
└─ README.md
- HTML passes W3C Validator without errors.
- CSS passes W3C CSS Validator.
- Code formatted with Prettier.
- Tested on multiple devices to ensure no horizontal scrollbars.
- Clone the repo and open
index.htmlin a browser. - Check the responsive layout at 320px, 768px, 1158px widths.
- Verify x2 images load on high-density displays.
- Test mobile menu: add/remove
.is-opento the menu container. - Publish via GitHub Pages and add the link in the repo’s About section.