Javascript examples
I used to run a module on Javascript with my Year 9s – well why not?! They used to enjoy it and it was an ice departure from Python as they could use the GUI of a web page to interact with.
With the demise of Trinket, Glitch and Replit I’m not sure o which IDE I would use now (new ones keep coming out every 5 mins its seems)
But then I remembered JSBIN which I had used for years to spin up little Javascript instances and it’s still there.
The reason that I thought of it :
P5 play
But the recent updates have kind of put it behind a paywall(?) and also even the old games I had created now came up with a splash screen.
- So I hacked it and hosted my own version of p5play on this server to avoid the splash screen
- Here’s an example of a simple starter game https://geekcandy.co.uk/attempt-p5play.html
- And on jsbin so you can edit this yourself https://jsbin.com/rorasilisa/2/edit?html,js,output
- Then I rediscovered JSBIN and some of the cool games we made in lessons
- This clicking game: https://output.jsbin.com/ponoyis (code: https://jsbin.com/ponoyis/edit?html,css,js,output)
- Trying One Compiler https://p5play-starter.oneapp.dev/ and https://p5play-starter2.oneapp.dev/ although not convinced as it cant find images (https://onecompiler.com/html/44kwgkgu2)