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

Mobile first website approach

Rabel 190

@Rabelahmed

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?

Made it in a one sitting , used mobile first approach and used picture element to which allows you to display different images for different screen sizes

Community feedback

@IvanFdez01

Posted

Try line-height on .info p, it will give you interlinear space.

Great job, would you like to give some information about your use of remunits? They're better than px, aren't they?

0

Rabel 190

@Rabelahmed

Posted

@IvanFdez01 thank you and yes rem units are better they can grow or shrink depending on user's preferred browser setting. This is good for someone with visual impairment. Whereas px units will stay the same regardless of user's preference. Use rem for better accessibility

2

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