Design comparison
Solution retrospective
Hello guys :) This is my next project ! This is one of the simpliest in my opinion :) Feedbacks are approciate! :) I'm gonna start working on another challange :D
Community feedback
- @correlucasPosted about 2 years ago
👾Hello @promatinwk, Congratulations on completing this challenge!
Amazing solution! I’ve just opened the solution’s live site and I liked the job you’ve done a lot. I’ve some suggestions for you:
1.Your solution seems fine, you did a really good job wrapping the content for these 3 cards. Something you can improve here is to use a
single class
to manage the content that is mostly the same for the 3 cards (paddings, colors, margins and etc) and another class to manage the characteristics that are different (colors and icon), this way you'll have more control over then and if you need to change something you modify only one class.2.Don’t use
id
to give the style of your elements, it's not a good idea becauseid
is a too specific selector used forforms
and Javascript code. Instead, useclass
for styling and let theid
for much specific stuff. It's also not advisable to use IDs as CSS selectors because if another element in the page uses the same/similar style, you would have to write the same CSS again. Even if you don't have more than one element with that style right now, it might come later.✌️ I hope this helps you and happy coding!
Marked as helpful0@promatinwkPosted about 2 years ago@correlucas Thank you for your advices :) You have right, I should use 2 classes to cards styling.. 2. In next project i'm gonna work according to your advices and for few weeks i'm gonna make this challange better :D
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