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.
Users should be able to:
- See hover states for interactive elements
- Solution URL: https://github.com/ConTacMight/Order-Summary-Component
- Live Site URL: https://contacmight.github.io/Order-Summary-Component/
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;
}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.
