I want to specify where my P5.js canvas will show up.
It keeps showing up at the end of the HTML document even when I change the place of the tag. Also when I try multiple files, it only shows the first one.
Here's an example:
<p> text1 </p>
<script src="sketch1.js"></script> <!-- I want this canvas to be here -->
<p> text2 </p>
<script src="sketch2.js"></script> <!-- I want this canvas to be here -->
The website only shows the first canvas at the end of the document.