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.
Users should be able to:
- View the optimal layout depending on their device's screen size
- See hover states for interactive elements
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>
);
}
- Website - [Barna iustin]( coming soon ... idk)
- Frontend Mentor - @Iustin117