Design comparison
SolutionDesign
Solution retrospective
Check it!
Community feedback
- @JessicaStrachanPosted almost 4 years ago
Nice use of CSS variables :)
Some feedback I have would be refraining from setting class names that you're not going to use to style with, eg.
followers
,likes
andphotos
. I can see that you have styled them using.stats div
so my next point is that it's best practice to generally avoid styling directly onto HTML elements where you can. Personally I would go for something likestats-item
or if you're using the BEM methodology (which I love!),stats__item
.1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord