https://github.com/codingwithjiro/frontend-mentor-order-summary-component
A responsive order summary component built with HTML and CSS. Created as part of a Frontend Mentor challenge.
https://github.com/codingwithjiro/frontend-mentor-order-summary-component
4th-month css frontend-mentor git github html lighthouse netlify perfectpixel project vscode
Last synced: 2 months ago
JSON representation
A responsive order summary component built with HTML and CSS. Created as part of a Frontend Mentor challenge.
- Host: GitHub
- URL: https://github.com/codingwithjiro/frontend-mentor-order-summary-component
- Owner: CodingWithJiro
- License: mit
- Created: 2025-07-01T12:17:37.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-01T12:29:44.000Z (12 months ago)
- Last Synced: 2025-07-01T13:42:01.371Z (12 months ago)
- Topics: 4th-month, css, frontend-mentor, git, github, html, lighthouse, netlify, perfectpixel, project, vscode
- Language: CSS
- Homepage: https://order-summary-component-fm-jiro.netlify.app/
- Size: 4.43 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Order Summary Component


[](https://www.frontendmentor.io/)
[](https://code.visualstudio.com/)
[](https://git-scm.com/)
[](https://github.com/)
[](https://www.netlify.com/)
[](https://chrome.google.com/webstore/detail/perfectpixel-by-welldonecod/dkaagdgjmgdmbnecmcefdhjekcoceebi)






[](./assets/downloads/lighthouse-performance-report.pdf)
[](https://order-summary-component-fm-jiro.netlify.app/)



## A Responsive Order Summary Component for a Radio Web App
| _Mobile Preview (375x812)_ | _Desktop Preview (1440x960)_ |
| ------------------------------------------------------------ | --------------------------------------------------------------- |
|  |  |
|  |  |
This is a fully responsive Order Summary card component that adapts to light/dark themes and various screen sizes and presents a fictional subscription plan with semantic HTML, accessible markup, and polished visuals.
Created as part of the building challenges from **[Frontend Mentor](https://www.frontendmentor.io/)**.
---
## Overview
This component simulates an order summary card for a radio or music streaming web app. It features a structured layout, an engaging hero image, plan details, and CTA buttons.
The design is responsive across breakpoints and supports light and dark themes through the use of the `prefers-color-scheme` media query. Extra attention was given to visual polish (shadows, hover states, transitions), as well as accessibility.
---
## Features
- Fully responsive card layout
- Dark mode and light mode support
- Mobile-first, fluid design
- Semantic and accessible HTML structure
- Hero image and plan icon in SVG format
- Custom CSS variables and transition effects
- Accessible focus states and hidden skip link
- Picture element with media + color-scheme queries for background art
---
## What I Learned
- How to inspect SVG image files in the browser using “View Page Source” to extract their inline code and manipulate fill color
- How to implement the `` element with both media and color-scheme queries
- Crafting accessible interactive elements (e.g., ``, ``)
- Designing adaptive dark mode themes with CSS variables
- Adding conditional transitions for `prefers-reduced-motion`
- Improving project polish during final stages (hover/focus effects, meta tags, shadows)
---
## Tech Used
- HTML5
- CSS3
- Git
- GitHub
- Netlify
---
## Design Reference & Tools
- JPG design image
- PerfectPixel
---
## How to Run
1. Clone the repository
2. Open `index.html` in your browser
---
## Live Demo
Or you can check out the **[live website here](https://order-summary-component-fm-jiro.netlify.app/)**
---
## Performance Report
A **Google Lighthouse** audit was conducted on the final version of this project. You can view the **[full report here](./assets/downloads/lighthouse-performance-report.pdf)**.
---
## Author
Created by **Elmar Chavez**
Month/Year: **July 2025**
Journey: **4th** month of learning _frontend web development_.