@Nipaaaa1
Posted
Congratulations on completing your first Challenge!
I see your code and there's a bit things you could do to make it even better:
First, your using CSS Variables for paragraph
and if you write it like this:
--paragraph: 'Figtree';
and implement the font like this:
.date {
font-family: sans-serif; /* This is the fallback font for older browser */
font-family: var(--paragraph);
}
The fonts problem will go away. The reason you should use separate font family for fallback font is because it'll break at older browser if you're using CSS Variables, since it didn`t support for older browser.
Everything else is fine, Good Job!
Marked as helpful