Frontend Mentor - Product preview card component solution

This is a solution to the Product preview card component challenge on Frontend Mentor.

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
  • Flexbox
  • Mobile-first workflow
  • TailwindCSS - For css styling

What I learned

I learnt to set up Tailwind in a plain HTML file.

Continued development

Having used Tailwind extensively in react projects, it fun to implement same in a vanilla html project

Author