Design comparison
Solution retrospective
I am happy to find a web-dev community. I will look at the files I am provided. And will not rush to solve problems without understanding.
What challenges did you encounter, and how did you overcome them?the challenge I had was aligning the elements. Tried different CSS techniques.
What specific areas of your project would you like help with?I would greatly appreciate your feedback on the overall layout, color scheme, and typography.
Community feedback
- @R3ygoskiPosted 6 months ago
Hello Sumedha, congratulations on completing your first challenge here on Frontend Mentor, welcome to this community.
Regarding the challenge you had in aligning the content, you used
margin
, but that's not the best possible way, and I honestly don't recommend it much. I recommend usingflex
. If you choose to useflex
you could do this:body { min-height: 100vh; display: flex; justify-content: center; align-items: center; flex-direction: column; }
Then you could remove the
padding
from your card.In summary,
min-height
will make yourbody
the size of the screen vertically. Andjustify-content
andalign-items
will center your content, to use them you need to useflex
, they don't work without this display, and be careful when using them, depending on theflex-direction
, they change the axis.This text "Improve your front-end skills by building projects..." that is outside the card can be removed at the end, it is used so that you don't have to keep copying the text, and can simply copy and paste.
And again, congratulations and welcome, I hope you enjoy the community here very much, and can learn more and more each time. If anything I said is confusing, please comment below and I will try to help in the best way possible.
Marked as helpful0@sumedhakorangaPosted 6 months agoThankyou fo the feedback, I will take care of these things.@R3ygoski
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