/FM-Product-Preview-Card

Front End Mentor | Product-Preview-Card Challenge | HTML/CSS

Primary LanguageCSS

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 (375 px / 1440 px)
  • See hover and focus states for interactive elements

Screenshot

ProjectScreenshot1440px

  • 1440px

ProjectScreenshot375px

  • 375px

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox

What I learned

Learned about letter-spacing.

.btn {
    ...
    letter-spacing: 0.03rem;
}

Continued development

I will focus on CSS, because there is still things that I need to improve.

Useful resources

Author