In my EJS file I am changing the border color of every even numbered row in a table using the following code:
<tr style="<% if (i % 2 == 0) { %> border: 3px solid crimson; <% }; %>" >
When I run my node.js web application this works as expected, the issue is that in VSCode it is showing that there are errors as displayed in the picture below:
Is there a way to get rid of this error or does VS Code just not recognize EJS syntax?