Design comparison
Solution retrospective
I still have a hard time centering divs in these beginner lessons. For example, it took me a long time to center stats in desktop view. How to make this easier?
Community feedback
- @shashreesamuelPosted over 2 years ago
Good job Mladen
Keep up the good work
Your solution looks good however I have some recommendations
-
The title needs a bit more margin from the left in addition to being in a bigger font
-
The description needs some margin from the left and needs to wrap after the word "make". It should also have a
text-align: left
-
The stats numbers needs to be left aligned and the font weight of the text needs to be in a heavier font weight.
In terms of your code, the names of your css variables should be lowercased, secondly i think your class
hero--image
is supposed to behero__image
since it's part of the hero section. Also it is a good thing to start with the design mobile first so that it would make it simpler to do the desktop design with less codeHope this helps
Cheers Hope this helps
Cheers
Marked as helpful1 -
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