src/index.js
function updateCurrentInput(input) {
    if (input !== currentInput) {
      body.classList.remove(`current-input-${currentInput}`);
      body.classList.add(`current-input-${input}`);
      currentInput = input;
    }
  }
function updateCurrentInput(input) {
    if (input !== currentInput) {
      body.classList.remove(`current-input-${currentInput}`);
      body.classList.add(`current-input-${input}`);
      currentInput = input;
    }
  }
function updateCurrentInput ( input ) { if ( input !== currentInput ) { body . classList . remove ( ` ${ currentInput } ` ) ; body . classList . add ( ` ${ input } ` ) ; currentInput = input ; } }
set current input class on body
set current input class on body