title: I am trying to add a for loop inside html, ? but the for loop shows error
body: <p>I see a red squiggly line under {while add this for loop in my table, what am I missing here.</p>
  <pre><code>var cartHtml = `&lt;table&gt;
                    &lt;tr&gt;
                       &lt;th&gt; Item&lt;/th&gt;
                       &lt;th&gt; Description&lt;/th&gt;
                       &lt;th&gt; Price&lt;/th&gt;
                       &lt;th&gt; Qty&lt;/th&gt;
                       &lt;th&gt; Totall&lt;/th&gt;
                    &lt;/tr&gt;
                    &lt;tr&gt;`
                       ${for (var i=0; i&lt;5; i++){
                         `&lt;td&gt;data&lt;/td&gt;`
                       }}
                   `&lt;/tr&gt;
                   &lt;/table&gt;`
  </code></pre>
  <p><a href="https://i.stack.imgur.com/ElCBn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ElCBn.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/aj6Am.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aj6Am.png" alt="enter image description here" /></a></p>