title: Javascript error notice not showing every time
body: <p>Making a simple converter for convert a integer (1 - 99) to time in (1 - 60 minutes)</p>
  
  <p>The formula works perfect, and converts 'on-the-fly', but i have problems with the error handling. When someone type '0' the first time after the webpage loaded then shows a notice, but when after a few converts and type '344' then the notice doens't showing anymore.</p>
  
  <p>How can show the notice every time a number &lt;= 0 OR number >= 100 OR isNaN(number) ?</p>
  
  <p>The Javascript code:</p>
  
  <pre><code>&lt;script&gt;
  function MinutesConverter(valNum) {
      var x, notice, displayminutes
      x = document.getElementById("inputnumber").value;
      notice = document.getElementById('notice');
      displayminutes = document.getElementById('minutes');
      outputMinutes = document.getElementById("outputMinutes");
  
      if ( isNaN(x) || x &lt;= 0 || x &gt;= 100 ) {
          notice.innerHTML = "Voer een geheel getal in tussen 0 en 100";
    } else {
          notice.style.display="none";
          displayminutes.innerHTML="minuten";
          outputMinutes.innerHTML="";
      outputMinutes.innerHTML=Math.round((valNum/100)*60);
    }
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>And that's the experimental static <a href="https://webkust.be/delijn-js.php" rel="nofollow noreferrer">webpage</a>.</p>