Skip to content

JulioCinquina/fem-order-summary-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Order summary component solution

This is a solution to the Order summary component challenge on Frontend Mentor.

The card was created in a mobile-first workflow with semantic HTML markup and Flexbox. Text color contrast ratios follow WCAG 2.0 level AA. Its button has hover and focus states to provide feedback to the user and ensure great tab navigation.

Overview

The challenge

Users should be able to:

  • See hover states for interactive elements

Links

Screenshots

Mobile   Desktop
Order summary card: mobile layout Order summary card: desktop layout

My process

What I learned

In this project, I have practiced the following skills:

  • Using Flexbox to create a card layout
  • Using CSS relative units to ensure the text scales according to the user's font size settings
  • Using CSS custom properties to allow easy customization and reusability of the card
  • Using media queries to adapt the card's layout to larger screens
  • Creating an accessible component by ensuring it uses WCAG 2.0 level AA contrast ratios in text
  • Styling buttons with different states
  • Styling elements with box shadows
  • Positioning background images
  • Using Git and GitHub

Useful resources

Author

About

An order summary card from Frontend Mentor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published