https://www.encodedna.com/
JS Editor
Run Save
<html>
<head>
    <title>My First JavaScript Code</title>
</head>
<body style='font:20px Calibri;'>
	<input type='text' placeholder='Enter your name' id='name' />
    <input type='button' value='Click Me' onclick='say_hello()' />

    <p id="msg"></p>
</body>
<script>
    function say_hello() {
        var name = document.getElementById('name').value;
        var msg = document.getElementById('msg');
        msg.innerHTML = 'Hello ' + name + ' &#9786;';
    }
</script>
</html>