I have tried to follow the guides given in the MDN docs, this is a submission for assessment to rate my work. https://codepen.io/karlinex/pen/poKPxYq
Let me know what I can do to improve, as I am learning.
Thank you.
Nice work, @karlinexcode
The upper gradient and border radius should be on .card header
and not just .card
. In your current code the bottom radius gets “overwritten” because of this.
The line height on h2
should be 1.5
. Combined with the 2em
font size this will result in a total height of 3em
(the whole header) which will nicely center the heading vertically.
Besides these two things everything looks fine
Cheerio,
Michael