Online editor have full support to create whole apps: HTML, CSS, Versions and App Hosting with Vanilla Names.
You will love PLAYCODE.
var msg = "Hello World";
var el = document.getElementById('msg');
el.innerHTML = msg;