@MelvinAguilar
Posted
Hello there π. Good job on completing the challenge !
I have some suggestions about your code that might interest you.
- Avoid setting a fixed height for the component; remove
"height: 60%"
because it can cause text overflow if the content grows. On my laptop, the text overflows.
- For
width
, avoid using a percentage. Instead, usemax-width
to allow the component to adapt to different devices without the need for media queries.
- Consider using the
clamp
function in CSS forfont-size
to make the font responsive without the need for media queries.
I hope you find it useful! π Above all, the solution you submitted is great!
Happy coding!