Skip to content

Its a challenge from FrontEnd Mentor, its a Product preview card component.

Notifications You must be signed in to change notification settings

Alberto170/Product-preview-card-component-FrontEnd-Mentor-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 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

Links

My process

Built with

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

What I learned

I learned how to use :root in css its like use var in Js.

:root {
    /* Primary colors */
    --cream-color: rgb(242, 235, 227);
    ---darkCyan-color: rgb(60, 128, 103);
    ---darkCyanOpacity-color: rgba(60, 128, 103, 0.753);
}

Continued development

This is my first Frontend Mentor challenge, after finishing it I will continue studying and practicing to improve more and more.

Author

Acknowledgments

The best advice I can give here is to know how to section the elements well.

About

Its a challenge from FrontEnd Mentor, its a Product preview card component.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published