@zineb-Bou
Posted
Hi there, here are some suggestions that may help you to improve your code even further.
1- The card doesn't fit all the screen sizes, 590px <scren-size<700px the pattern divider gets overflow the card, your solution should be responsive.
2-The get request needs to be done when clicking on the dice button, you can be done using only the effect hook.
3- For accessibility purposes, you need to use the right HTML semantic element, so instead of using <dev> for the dice button use <button>. you also need to hide any images from the screen readers that have a decoration purpose.
Good luck π