Skip to content

BikeInMan/frontendmentor-01-nft-preview-card-component-main

Repository files navigation

Frontend Mentor - NFT preview card component solution

This is a solution to the NFT 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 states for interactive elements

Screenshots

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid

What I learned

Though this exercise seems simple, I learnt some important things while creating the solution

  1. How to overlay an icon over an image
  2. How to align small icons and text next to it.
  3. Learn how to use flexbox for layout of items in a row and spacing where required.

Continued development

I want to learn responsive techniques without using many media queries. I want to learn how to center things on the screen in a modern way. I also want to learn the correct way of overlays.

Useful resources

  • W3schools - This helped me with icon overlay over image.
  • MDN - How to center an element at the center using flexbox
  • MDN - How to align items in a row with separations at desired locations.

Author

Acknowledgments

All thanks to frontend mentor for providing such a neat excercise.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published