Skip to content

a html and css practice challenge from Frontendmentor.io

Notifications You must be signed in to change notification settings

ADmcdon/Preview-Card-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Product preview card component solution

This is a solution to the Product preview card component 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:

  • View the optimal layout depending on their device's screen size
  • See hover and focus states for interactive elements

Screenshot

![](![Screenshot 2022-06-27 at 11-30-42 Frontend Mentor Product preview card component]) section.**

Links

My process

So I kinda cheated and found a finished version of the challenge and basically traced it. I am going back through the code and adding comments to elements for my own future reference.

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox

What I learned

I learned what a flexbox was and when to use that instead of a grid for screen optimization.

Continued development

I will re-do this challenge again from the applying what I've learned and try to add slight style differences

Useful resources

  • CSS Flexbox - This helped me understand what flexboxes are and how to use them
  • Amjad12 - I used their solution to the challenge as my template

Author

Acknowledgments

I would like to give Amjad all the credit for their solution, helped me to understand how to format side by side elements without using a grid, and how to make a responsive layout

About

a html and css practice challenge from Frontendmentor.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published