Vanza Setia• 27,795
@vanzasetia
Posted
Hi!
I recommend using a code-formatter. This way, your code base will have a consistent format, which makes it easier to read the code. I suggest using Prettier as your code-formatter.
Prettier · Opinionated Code Formatter
You could make this solution better if you:
- Make the statistic a list element with three bullet points.
- Wrap the text with a meaningful element like a paragraph element instead of using
<div>
and<span>
. - Replace the
<div class="attribution">
with<footer>
. All the page content should live inside landmark elements. - Don't change the
<html>
or the:root
font size. It can cause huge accessibility implications for those users with different font sizes or zoom requirements.
I hope this helps. Happy new year!
Marked as helpful
0