Skip to content

kuldp18/frontend-mentor-nft-card-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Screenshot

Final version on desktop:

Final version on smaller devices:

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox

What I learned

  • Brushed up my flexbox skills
  • Learnt about responsive design
  • Learnt about image overlays

Useful resources

  • Image Overlay Effect - Since I didn't know about complex topics like ::after and ::before elements, I just found this great youtube video which just works for this particular challenge. It's not the best but it does the job.
  • Best Flexbox Guide you can have - If you don't know about flexbox, this is the best guide or cheatsheet you can find on the entire internet. It's great for pros as well as for beginners.

Author