Skip to content

A responsive Order Summary Card component built with semantic HTML, CSS, and custom fonts. Designed as a solution for the Frontend Mentor challenge, showcasing hover states, reusable styles, and mobile-first design.

License

Notifications You must be signed in to change notification settings

Mayen007/order-summary-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Order Summary Card Solution

This is my solution to the Order Summary Card challenge on Frontend Mentor. This project was a great opportunity to practice structuring a small, focused component while using semantic HTML and CSS.

Table of Contents

Overview

The Challenge

Users should be able to:

  • See hover states for interactive elements.

Screenshot

Desktop View

Links

My Process

Built With

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox for layout
  • Mobile-first workflow
  • Custom fonts using @font-face (Red Hat Display)

What I Learned

This project helped solidify my understanding of CSS custom properties, hover states, and responsive design. One of the highlights was implementing a reusable and visually appealing button style:

.card__button {
  background-color: var(--bright-blue);
  color: var(--pale-blue);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 10px 20px -10px var(--bright-blue);
  transition: all 0.3s ease;
}

.card__button:hover {
  background-color: hsl(245, 100%, 72%);
}

Continued Development

I plan to focus on improving:

  • Consistency in typography across devices using a combination of custom fonts and responsive units.
  • More complex layout management using CSS Grid in future projects.
  • Enhancing interactivity with advanced hover and focus styles.

Author

About

A responsive Order Summary Card component built with semantic HTML, CSS, and custom fonts. Designed as a solution for the Frontend Mentor challenge, showcasing hover states, reusable styles, and mobile-first design.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published