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 component

@gideonakpan

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


What are you most proud of, and what would you do differently next time?

Building a responsive webpage, I will try using Tailwind next time to rebuild

What challenges did you encounter, and how did you overcome them?

Trying to make it responsive with a grid, I later tried Flexbox

What specific areas of your project would you like help with?

Writing shorter codes.

Community feedback

@roraima1986

Posted

Congratulations on completing the challenge. One of my recommendations is that you change the px values to rem or em. There is also code that you repeated a lot and it can be simplified as follows:

  .break,
  .break_resp {
        display: none;
  }

In fact, you repeated the .break_resp for both the desktop screen design and the mobile screen.

Marked as helpful

0

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