Skip to content

JulioCinquina/fem-nft-preview-card-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Interactive rating 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.

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

Screenshots

Screenshot   Demonstration
Screenshot of the solution GIF showing the interactive elements of the solution

My process

What I learned

In this project, I have practiced the following skills:

  • Creating a responsive component with semantic HTML, CSS and JavaScript
  • Using the <dialog> element and JavaScript to create a modal
  • Styling scrollbars in Firefox, Chrome and Safari
  • Detecting if a device supports hovering with the @media (hover: hover) media query
  • Using CSS relative units to ensure the page scales according to the user's font size settings
  • Using CSS custom properties to allow easy customization and reusability of components
  • Using Git and GitHub

Continued development

To further develop this project, I would like to use a polyfill to ensure a great experience for older browsers that might not support the <dialog> element. As of September 27, 2022, the <dialog> element is supported by 92.18% of browsers in use globally.

Useful resources

Author

About

An NFT card from Frontend Mentor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published