Design comparison
SolutionDesign
Solution retrospective
I would like your Feedback, to correct something that is messy or wrong in my code and to have a different point of view to aggregate in my knowledge. Thank you in advance. 🙏🙏🙏
Community feedback
- @vanzasetiaPosted over 3 years ago
👋Hi Yohan-Marques! My name is Vanza!
I have some feedback on this solution:
- Let's take a look on a chunk of your css code, so for the
width: 100% auto;
, it's not valid sincewidth
can only accept 1 value.
body { height: 100vh; width: 100% auto; }
- Try to use
rem
unit, it will allow the user to change the font-size base on their setting. - Now, let's take a look on another chunk of your css:
h1{ margin: 25px 30px 20px 50px; } h1{ font-size: 40px; text-transform: uppercase; font-family:Big Shoulders Display; }
- So,. first you can just make it into 1
h1
styling like this:
h1{ margin: 25px 30px 20px 50px; font-size: 40px; text-transform: uppercase; font-family: "Big Shoulders Display", sans-serif; }
- Second, try to add quotation marks if the
font-family
name require space. - Third, don't use
h1
,p
, andbutton
by addingmargin
to them to make the card looks good, instead try to addpadding
into the card. - Try to add grayish background on your
body
style, to make it looks closer to the design.
That's it! Hopefully this is helpful!
Happy Coding!
2 - Let's take a look on a chunk of your css code, so for the
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