frontendstu / order-summary-component

My solution to the Frontend Mentor "Order Summary Component" challenge

Home Page:https://frontendstu.github.io/order-summary-component/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Note: Delete this note and update the table of contents based on what sections you keep.

Overview

The challenge

Users should be able to:

  • See hover states for interactive elements

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow

What I learned

The Order Summary Component challenge ended up being a pretty straightforward challenge. There were a couple of aspects I had to think on and that was primarily with the background image positioning. Once I got that figured out (see below snippet), I was able to breeze through the rest of the project. I am finding that working in vanilla CSS is very referring back and fourth and I found that this made me make a couple of mistakes. I will stick with using Vanilla CSS a bit more just so I can demonstrate that I’m not reliant on Sass, but honestly who wouldn’t use Sass!

body {
  background: var(--body-bg) var(--body-bg-img) repeat-x top / contain;
}

Author

About

My solution to the Frontend Mentor "Order Summary Component" challenge

https://frontendstu.github.io/order-summary-component/


Languages

Language:CSS 81.0%Language:HTML 19.0%