Skip to content

Illyaas4Show/NFT-preview-card-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - NFT preview card component challenge

Design preview for the QR code component coding challenge

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

links

My process

At first I started this challenge feeling confident, following the success of my previous challenge, but I later hit a roadblock when I got to centering the icons to text next to it. The Icons were slightly offset for reasons I didn’t understand and I tried every way to centre an element that I knew of. I later searched on youtube for help and found that simply displaying as flex solves the problem simply! When I was done with that part, the rest was pretty fun.

Built with

  • HTML (semantic)
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow

What I learned

I learn the importance of using the right styling on the right parent element in order to achieve a certain goal. For example, using position absolute on the element and using position relative on the parent element.

Useful resources

Author

Thank you for viewing 😄

About

Frontend Mentor coding challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published