Design comparison
Solution retrospective
Feel free to give feedback!
Thanks!
Community feedback
- @JyVersPosted over 3 years ago
Hey Sebastian ! 👋
Your solution to this challenge seems pretty good!
But, I noticed 2 problems,
First, you placed the button using a margin-bottom but the 3 texts don't have the same size so the buttons aren't aligned. You can fix this problem just by specifying a height for your "card-content" div. (by the way, why use a div and not a <p> tag ?)
And secondly, you put the size of your .card-title in vw, technically it's good for the responsive but in this case if we go down to a screen of for example 400px, the text is very small. You can just put 30px and it works perfectly on all screen sizes!
I hope these few feedback will help you! 😉
Have a nice day and keep coding! 😁
0@Basti576Posted over 3 years ago@JyVers Thanks for your feedback. I changed the problems you mentioned above. From the "card-content" div to a "p" tag. You are right that this is the better solution here, because my div only had 1 Element, so the "p" tag fits better here. I also set a height to the card-content and now the button alignement looks pretty good.
Thanks for your correction advices :)
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