Vanza Setia• 27,795
@vanzasetia
Posted
Hello, Tham Jia Jun! 👋
Well done on this challenge! The HTML is already well structured. One suggestion for the HTML is to specify the type
of the button
elements. In this case, set the type of them as type="button"
. It will prevent the button from behaving unexpectedly.
For the styling,
- Add some
padding
to thebody
element. It will prevent the card from touching the edges of the browser. - Code your font size in rem, not pixels. This means the text size will be responsive if people want to adjust the size.
- Create a custom
:focus-visible
styling for any interactive elements (e.g.button
, links,input
,textarea
). This will let people who use a keyboard to navigate the site know where they are currently on the page.
I hope you find this useful!
0