My code is as shown below:
test.html
<div class="q-img-container">
<img id="q-order-img" src="../img/ic_truck.png" alt=""></img>
</div>
But it gives me following error:
"Unhandled Promise rejection:"
"Template parse errors:
Void elements do not have end tags "img" ("iv class="q-img-container">
<img id="q-order-img" src="../img/ic_truck.png" alt="">[ERROR ->]</img>
</div>
My directory structure is as follows:
---app
------img
----------ic_truck.png
------template
----------test.html
What am I missing here?