Skip to content

OhSorrow/order-summary-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Order summary card solution

This is a solution to the Order summary card challenge on Frontend Mentor. Frontend Mentor challenges help me improve my coding skills by building realistic projects.

Table of contents

Overview

This mini project is my first experience of creating a real project as a front-end developer! I'm so excited to share it with you.

The challenge

The challenge is to build out this order summary card component and get it looking as close to the design as possible, and even make it better!

As well as making it responsive for small phones, I tried to make it good looking for large screens as well. Another challenge was keeping the HTML semantic, and the CSS clean. Due to my limited experience, I did not apply a mobile-first workflow, but for future projects I will take it into consideration!

Screenshot

Mobile Preview Desktop Previe

Links

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox

What I learned

Using CSS custom properties to create custom colors:

:root {
  --pale-blue: hsl(225, 100%, 94%);
  --bright-blue: hsl(245, 75%, 52%);
  --very-pale-blue: hsl(225, 100%, 98%);
  --desaturated-blue: hsl(224, 23%, 55%);
  --dark-blue: hsl(223, 47%, 23%);
}

CSS basic rest:

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

img {
  display: block;
}

Continued development

Since I learned a lot on this project, I'm looking forward to trying more challenges from Frontend Mentor.

Useful resources

  • Get Waves - With this tool, you can create beautiful waves!
  • Google Fonts - Google Fonts is a library of more than 1,400 open source font families and APIs for convenient use via CSS and Android.
  • Device Frame - Generate beautiful 3D device scenes to showcase your app UI.

Author

About

My first real project as a front-end developer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published