Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Product Preview Card [React.js]

Kirsten βœ¨β€’ 460

@ofthewildfire

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello folks! This is my solution to the product preview card!

I wanted to try this in React, so, I did. My main focus was to not mess up the accessibility tree, whether I did that or not, I would genuinely appreciate any direction, and also I know React for something this small is overkill, but, I wanted to do a challenge and I had not used any of the baby React I learned months ago due to being swamped, so, I just went with it.

I made no other changes to the project.

Any advice appreciated

Community feedback

Daniel πŸ›Έβ€’ 44,230

@danielmrz-dev

Posted

Hello there! πŸ™‹πŸ½β€β™‚οΈ

Your solution looks excellent!

I have a suggestion about your code that might interest you:

πŸ“Œ If you don't have the Figma design files, I recommend using a browser extension called Perfect Pixel.

It allows you to compare your finished project with the design images that come along when you download the project and check the (almost exact) dimensions. It's very useful!

I hope it helps you in future projects! 😊

Other than that, great job!

Marked as helpful

0

Kirsten βœ¨β€’ 460

@ofthewildfire

Posted

@danielmrz-dev Thank you Daniel, this is useful. I'll look into it and start using it. It really used to bother me not knowing the dimensions πŸ˜‚β™₯️

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord