@correlucas
Posted
👾Hello Jen, Congratulations on completing this challenge!
Great code and great solution! I’ve few suggestions for you that you can consider adding to your code:
1.Prefer CLASS
instead of ID
to give style to your elements, choosing id
is not a good idea because it’s a too specific selector and it's better to use it for forms
or Javascript code. It is 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.
2.To make your CSS code easier to work you can create 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.
✌️ I hope this helps you and happy coding!
Marked as helpful