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

Responsive product card using HTML and CSS

@devandytech

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?

Well am mostly proud of how I use the different images given for the mobile and desktop, and I noticed how start they implement the image not to work on css background image property because of the image storage, and am trying to do the project faster next time

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

Using the images for the mobile and desktop, I tackle it using media queries and css display property

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

Any review and feedback is welcome

Community feedback

devchsykasā€¢ 220

@devchsykas

Posted

Hi, here are my recomendations for the improvement of your soloution:

  1. Consider using a more semantic structure. For example, wrapping the content in a <main> tag for the primary content of the page, and using a <header> tag for the logo and heading.
  2. Consider using modern layout techniques like CSS Grid or Flexbox to make the layout more flexible and easier to manage across different screen sizes.

Marked as helpful

0
Daniel šŸ›øā€¢ 44,230

@danielmrz-dev

Posted

Hey there! šŸ™‹šŸ½ā€ā™‚ļø

Congrats on finishing the challenge! āœ…

Your project looks awesome!

Here's a tip that might interest you:

šŸ“Œ When you have different versions of the same image, consider using the <picture> tag.

This will help ensure the correct image loads on the user's device, saving bandwidth and boosting performance.

Example:

<picture>
    <source media="(min-width: 768px)" srcset="{desktop image path here}">
    <img src="{mobile image path here}" alt="{alternative text here}">
</picture>

Hope you find this useful!

Great job overall!

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