I would like to know how by clicking on a button the color can change for all users of the site?

Viewed 32

I am currently on a little project and i want for people to change the color of a button when they click on it but this change have to apply on all user (all users connected on the site see the change). The button can have two color red:to say it's occuped and green:to say it's not occuped(like in picture).I don't have many experience can you help me?

Thank you in advance.

enter image description here

enter image description here

0 Answers
Related