link to p5 js code example
Example 1: p5 cdn
<script src="https://cdn.jsdelivr.net/npm/p5@1.1.9/lib/p5.js"></script>
Example 2: offline p5.js html
<script src="../p5.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/p5@1.1.9/lib/p5.js"></script>
<script src="../p5.min.js"></script>