Hello, everyone!
I want to know if there’s any way I could optimize my code farther and improve the UI, thank you for your time.
This looks great! My only suggestion is to make the randomize button “tabbable” for more accessibility. If you do make this addition, make sure that the button is also clickable with the keyboard. (The Twitter link button already has both of these functions).
1 Like
Was not immediately clear to me that the button was a die. Maybe a pair of dice with different faces showing or something else?
Also, you should wrap the icon inside a button element and move the handler to the button. It should be focusable using the keyboard.