Design comparison
Solution retrospective
It took me a little longer to solve the task, but I'm glad I started again.
What challenges did you encounter, and how did you overcome them?Maybe it's just that exact centering was difficult.
What specific areas of your project would you like help with?I solved the project alone, but afterwards I received useful advice.
Community feedback
- @danielmrz-devPosted 10 months ago
Hello @ildi0818!
Your project looks great!
I noticed that you used
margin
andposition
to place the card in the middle of the page. Here's a very efficient way to center the card:- Apply this to the body (in order to work properly, you can't use position or margins):
body { min-height: 100vh; display: flex; justify-content: center; align-items: center; }
I hope it helps!
Other than that, great job!
Marked as helpful1 - @DR-KSP-VIRUSPosted 10 months ago
Your solution looks great!
however, in the HTML, where you made
<p class="bolder">...</p>
You could have used<h1>
or any to help you minimize your CSS code2@ildi0818Posted 10 months agoHello @DR-KSP-VIRUS!
Ooops! I didn't pay attention to that. Thank you so much! :)
0
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