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.
Note: Delete this note and update the table of contents based on what sections you keep.
- Challenge rontend mentor to build an NFT card.
Users should be able to:
- View the optimal layout depending on their device's screen size
- See hover states for interactive elements
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Vanilla Javascript
- Styled Components - For styles
- This section goes over what i learnt while building this project.
- Here are the key highlights that am very proud of.
<h1>My learnings</h1>
.proud-of-this-css {
color: papayawhip;
box-shadow : box-shadow: 0 3rem 2rem -1.5rem var(--bg-color-secondary),
0 1.5rem 1.5rem 3rem var(--bg-color-secondary);
/**positioning **/
position: relative;
position: absolute;
}
const proudOfThisFunc = () => {
console.log('Yaay, High Order functions🎉')
}
- Frontend Masters - This helped me for learn Javascript fundamentals. I really liked the way the teach and you should try it out.
- CSS Tricks - This is an amazing site which helped me finally understand the various CSS properties. I'd recommend it to anyone still learning this concept.
- Github - Lentumunai
- Twitter - @loshilumark