@nikhil149 That's a great first attempt! I just want to make few suggestions which will make your solution even better.
- You can add the following css to your to properly center your product-container. It will place the product-container right in the middle of the body.
body{ justify-content: center; height: 100vh; }
- Usually all fonts and colors, et cetera used in the design are all in the style-guide.md file. If you view the file, you will realize that two fonts are used.
-
Family: Montserrat
-
Weights: 500, 700
-
Family: Fraunces
-
Weights: 700
All the fonts can be found at fonts.google.com. For convenience sake I will put a link here which you include in the head of you document. It has all the two fonts.
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],700&family=Montserrat:ital,wght@0,500;1,700&display=swap" rel="stylesheet">Use font-family: 'Fraunces', serif; for the bold title as well as the price. and Montserrat for all others.
Marked as helpful