@AhmedHaniAlkadySubmitted over 1 year ago
Nyx-99
@Nyx-99All comments
- @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