ONLINE TOOLS FOR TESTING CODE
Before you start setting all this up on your home system, and if you want to play with small snippets of code, try online solutions, such as Codepen and Jsfiddle.
Jsfiddle is similar to Codepen, but has more view options and templates. It also has a neat drop-down list where you can choose language, library, and other values for your code. In Jsfiddle, you also have a collaborate function. When you activate this feature, you create a link that you share with someone you trust, and you can both work on the same code together.
These tools are great for testing new ideas and building the initial code. However, if you already have code on GitHub, then you can link directly to it on Jsfiddle.