S
S
siza2020-04-23 11:27:53
JavaScript
siza, 2020-04-23 11:27:53

How to switch classes?

How to switch classes? When you click on a square, a class is assigned to it, and the rest of this class should not be, and if the block already has a class, you need to remove it and so that others do not have it

jsfiddle.net/avxmwres/1

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question