list even numbers one through ten and each multiplied by 2
<p>It might be a silly question; however, my code is not running. I was trying to <strong>list even numbers one through ten and each multiplied by 2</strong>. But I am not getting what I want. Please help me out what I missed in the code.</p>

<p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>var num; 
var list = ""; 
for(num = 0; num&lt;=10; num++){ 
  num % 2 == 0;
  num *=2; 
  list += num + "&lt;br&gt;"; 
  document.getElementById("demo").innerHTML = list; 
} </code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;p id="demo"&gt;&lt;/p&gt;</code></pre>
</div>
</div>
</p>