Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/smart-ace-designs/astro-product-preview-card

A solution to the "Product Preview Card" challenge on Frontend Mentor using Astro and Tailwind CSS.
https://github.com/smart-ace-designs/astro-product-preview-card

astro frontendmentor-challenge

Last synced: about 1 month ago
JSON representation

A solution to the "Product Preview Card" challenge on Frontend Mentor using Astro and Tailwind CSS.

Awesome Lists containing this project

README

        

# Frontend Mentor - Product preview card component solution

This is a solution to the [Product preview card component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/product-preview-card-component-GO7UmttRfa). Frontend Mentor challenges help you improve your coding skills by building realistic projects.

## Table of contents

- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Continued development](#continued-development)
- [Useful resources](#useful-resources)
- [Author](#author)
- [Acknowledgments](#acknowledgments)

## 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
![product-preview-card](https://github.com/Smart-Ace-Designs/Astro-Product-Preview-Card/assets/132539186/60bc4cae-e620-4566-bede-c7e208d25697)

### Links

- Solution URL: [GitHub](https://github.com/Smart-Ace-Designs/Astro-Product-Preview-Card)
- Live Site URL: [Netlify](https://smartacedesigns-astro-product-pcard.netlify.app/)

## My process

### Built with

- Astro
- Astro [Space](https://github.com/Smart-Ace-Designs/Astro-Space) Template
- Tailwind CSS
- Flexbox
- CSS Grid
- Bun
- Mobile-first workflow

### What I learned

Handling multiple images.

### Continued development

Use a element to select the image basded on the screen size.

### Useful resources

- [Tailwind CSS Cheat Sheet](https://tailwindcomponents.com/cheatsheet/)
- [Microsoft Bing Copilot](https://www.bing.com/chat?form=NTPCHB)

## Author

- Website - [Smart Ace Designs (GitHub)](https://github.com/Smart-Ace-Designs)
- Frontend Mentor - [@smart-ace-designs](https://www.frontendmentor.io/profile/Smart-Ace-Designs)

## Acknowledgments

[Kevin Powell](https://www.youtube.com/@KevinPowell)