@Code-Beaker
Posted
Great job completing this challenge! 🎉 Let me share some of my suggestions regarding your code.
- Using CSS Variables/Custom properties is a great way to code faster. You can create variables for colors, font-weights, font sizes, etc.
- Avoid using
id
for styling a component as it is more appropriate to be used in JavaScript. Here's an article about this topic. - It might be unnecessary to define
height
andwidth
for buttons. Instead usepadding
to adjust their spacing and size.
Hope you find these helpful... 😄
Marked as helpful
Hi @Code-Beaker and thanks for your advices. I've just read the topic on the id
I didn't know about this and for aria
I've never used that.
@Code-Beaker
Posted
You're welcome, @Lo-Deck! 😄 Glad to know I was able to help you improve your solution!