title: Less than and greater than operators not working
body: <p>I don't get why this is not working:</p>
  <pre><code>if (btn) {
  btn.addEventListener(&quot;click&quot;, function() {
      if (!num.value &amp;&amp; num &gt; 70) {
          msg.textContent = &quot;Please enter your age...&quot;
      }
  })
  </code></pre>
  <p>When I enter a number that is greater than 70 the <code>msg.textContent</code> doesn't show up anything in html but is logging out the <code>num</code> anyway. I tried various operators like: <code>&lt;</code>, <code>&gt;</code>, <code>&lt;=</code>, <code>&gt;=</code>, etc but none of them worked. I also tried this: <a href="https://stackoverflow.com/a/5345276/19548442">https://stackoverflow.com/a/5345276/19548442</a> but it didn't work. Why is this thing not working properly?</p>