Is the script written correctly?

  • 0
    There should be a button with a timer, after pressing to protect against duplicate letters.
    document.querySelector('.send').disabled = true;
       setTimeout(function() { document.querySelector('.send').disabled = false }, 6000);

    But something does not plow, maybe some kind of error?
    JavaScript Anonymous, Aug 24, 2020

  • 1 Answers
  • 0

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!