Skip to content

ConTacMight/Order-Summary-Component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 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 you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

Users should be able to:

  • See hover states for interactive elements

Screenshot

Links

My process

What I learned

Before this guided project, I only had a basic understanding of HTML and CSS; the advanced interactions and options within properties and alluded me. This project taught me more about styling and practices that I should apply to make my code more legible and easier to manipulate later.

  • There's default css properties that can be overwritten
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
  • Unique color names can be designated and used with var()
:root {
  --uniquename: hsl(225, 100%, 94%);
}
body {
  background-color: var(--uniquename);
}
  • Alignment of items and boxes are intricate and require trial and error, especially when coding for responsiveness on smaller screens.
  • Shorthand techniques for padding, margin, etc.
.order-description {
  padding: 5px 20px 20px 20px;
}

Acknowledgments

Thank you to freeCodeCamp and Madison Kanna for a clear and concise guided tutorial for a better understanding of HTML basics and CSS tips that help create clean and efficient code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published