Design comparison
Solution retrospective
I'm proud of the way a tried to make this
What challenges did you encounter, and how did you overcome them?i found a challenges like how to put things in their place, i couldn't do it correctly with flex-box
What specific areas of your project would you like help with?help with flex-box or better methods to make things like this
Community feedback
- @0xabdulkhaliqPosted 7 months ago
Hello there š. Congratulations on successfully completing the challenge! š
- I have a suggestion regarding your code that I believe will be of great interest to you.
CSS šØ:
- Looks like the component has not been centered properly. You just forget to add
min-height: 100vh
formain
. So that your usingpadding-top
to forcely center the component.
- You don't need
padding
to center the component both horizontally & vertically. Because usingpadding
will not dynamical centers our component at all states
- You already using
Flexbox
for layout, So just addmin-height: 100vh
formain
element. and remove thepadding-top: 10rem
from.container
.
- Now your component has been properly centered
.
I hope you find this helpful š Above all, the solution you submitted is great !
Happy coding!
Marked as helpful0 - @danielmrz-devPosted 7 months ago
Hello there!
Congrats on completing the challenge! ā
Your solution looks great!
The background pattern with the circles is a bit tricky, but here's how you can do it:
š Add this to the body:
background-color: var(--Dark-cyan); background-image: url("./images/bg-pattern-top.svg"), url("./images/bg-pattern-bottom.svg"); background-repeat: no-repeat, no-repeat; background-position: right 52vw bottom 35vh, left 48vw top 52vh;
I hope it helps!
Other than that, you did an excelent job!
Marked as helpful0
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