Katriel Paige8,691 Points
These exercises use onClick. But what if you wanted to make sure the counters are accessible using a keyboard?
I hesitate to always use onClick for functionality because many times, I don't use a mouse. So, is there some other way to code this that allows for keyboard access to the score counters etc?
Lukas Dahlberg53,447 Points
onChange, onFocus (or onFocusIn), and onBlur based on what you're trying to accomplish and when