@Antonvasilache
Posted
Hello there!
Nice work creating the preview card. A few minor suggestions, if you are interested:
Your h2 heading should use font-family
, instead of font-style
to apply the desired font:
.product-heading-2{
`font-family: 'Fraunces', serif;
}
Also, you might want to consider the use of variables, instead of repeating the hsl/rgb codes, like so:
:root {
--Dark-cyan: hsl(158, 36%, 37%);
--Cream: hsl(30, 38%, 92%);
--Very-dark-blue: hsl(212, 21%, 14%);
--Dark-grayish-blue: hsl(228, 12%, 48%);
--White: hsl(0, 0%, 100%);
}
body {
background-color: var(--Cream);
}
Hope you find this useful.
Good luck!