title: Studio clock: activate indicators with the keys of the numeric keypad
body: <p>Here is the javascript code for a studio clock that I got from GitHub : <a href="https://www.dropbox.com/sh/4qs4ujrip9kfr3n/AADQ8SMdHhxNigP4XoGbZvCwa?dl=0" rel="nofollow noreferrer">https://www.dropbox.com/sh/4qs4ujrip9kfr3n/AADQ8SMdHhxNigP4XoGbZvCwa?dl=0</a></p>
  <p>I modified it according to my needs, however there are 3 features that I cannot code:</p>
  <ol>
  <li><p>The indicator &quot;ON AIR&quot; can be toggled on or off with the 1 number key on the keyboard : the rectangle turns green when it is activated, and gray when it is deactivated</p>
  </li>
  <li><p>The indicator &quot;MIC LIVE&quot; can be toggled on or off with the 2 number key on the keyboard : the rectangle turns red when it is activated, and gray when it is deactivated</p>
  </li>
  <li><p>The black background turns to a red flashing background like an alarm with the 3 number key on the keyboard, the alarm stops when it is deactivated</p>
  </li>
  </ol>
  <p>What is the javascript code for these functions? Where should I write them? I really need help, tried to do it on my own but it doesn't work. Thanks in advance for anyone who wants to help me</p>