How to share several sketches in one html page?

edited June 2016 in p5.js

Hi, guys, I want to put some exercises in different sketch.js files in one html page, I just want to share my learning on my blog:). One is just simple,

<script src="p5.min.js"></script> <script src="sketch01.js"></script>

Now, if I just add

<script src="sketch02.js"></script> after the first statement, It won't show the second one. How to do that? By DIV? Or ... Thanks in advance.


Sign In or Register to comment.