Help: how to deselect text in a non input element (my tic-tac-toe challenge) solved

Hello, this is my TIC- TAC-TOE challenge, I need some help:

(MOZILLA browser) when a player start the game and click on a square, the letter (X or O) is showed as selected text. I would like to know if there are a function to unselect the text.

thanks

I am not sure of what you want, but if you are trying to avoid the selection of the text, you can use user-select: none; in css

1 Like

Thanks, I used -moz-user-select: none; in css.