Hello,
There is some related information here:
I would keep all solutions offline.
I do not use P5.js often but able to use it with P5.js mode in the Processing PDE (you need to update the *.js files to current ones) and as per instructions here.
You can expect to have students visit the forums and there is a homework policy here.
And discussion here:
:)