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

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