Design comparison
SolutionDesign
Community feedback
- @Nyx-99Posted over 1 year ago
Hello Amed ✌🏻 Congratulations on finishing the challenge 🎉
You did a great job
I have some suggestions about your code, I hope you find it useful to improve your code.
- In your CSS, you can set
* { margin: 0; padding: 0; }
at the top of your CSS file to removes all default margin and padding for every object in your page, so that it is easier for you to set up the object manually.
- Regarding <p> and <h2>, you can consider the code below
<div class = "textDiv"> <h2> Improve your front-end skills by building projects </h2> <p>scan the QR code to visit frontend Mentor and take your coding skills to the next level</p> </div>
then center your object by using
text-align : center
and then set margin-left and margin-right as you wish for the object.I hope it can help you.
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