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

A Product Card Using HTML, CSS and Bootstrap

Paafio 10

@emmanuelBoyetey

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


  1. Any help on how to add the background color of the project?
  2. Any suggestions for best practices and how to make my project better?

Community feedback

Mahmoud 150

@Mamouty

Posted

To change the color of the background you can simply select the body element to modify its CSS properties:

body {
  margin: 0;
 background-color: rgb(242, 235, 227);
}

Now setting the margin to 0 will remove the default margin.

The image of this challenge should change at a certain break point. To do so, you have to use the picture element which I link down below:

Using the picture tag for responsive designs

The card should change shape according to the design. You'll have to work more on the Bootstrap grid or use directly the CSS grid. You can learn more about this last one following the link down below:

CSS Grid

Marked as helpful

0

Paafio 10

@emmanuelBoyetey

Posted

@Mamouty Thank you🙏

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