@erratic-enigma
Posted
Hi, good work on this project! Here's some improvements I would suggest:
The .published-date
should be a p
element rather than a div
, ideally with the date wrapped in a time
element.
Give the body
element a min-height
of 100vh
rather than a height
. You should generally avoid using a fixed height on elements containing text, including the body
.
The .card
has a width
set in pixels. This causes horizontal scrolling on smaller viewports. Use a max-width
instead (ideally in rems) so the card shrinks in size on smaller viewports.
The .card
being set to display: flex
is redunant and can be removed.
Marked as helpful