Skip to content

Iustin117/My-attemt-at-NFT-preview-card-component

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

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • React - JS library
  • Next.js - React framework

What I learned

This is my second react project. I am very proud of what I did here. I did not just hardcoded the informationon to the Nft preview card, I made it easy to change eny information from author name, price, cryptocurrency to image.

export default function App() {
  return (
    <div>
      <Card
        id="3429"
        title="Equilibrium"
        description="Our Equilibrium collection promotes balance and calm."
        img={img} //path to img
        price="0.0041"
        coin="ETH"
        simbol={simbol} //path to simbol of the currency
        time="3 days"
        authorname="Jules Wyvern"
        authorimg={avatar} //path to author foto
      />
      <Footer />
    </div>
  );
}

Author

  • Website - [Barna iustin]( coming soon ... idk)
  • Frontend Mentor - @Iustin117

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published