Index.php

x

<script>
    var person = prompt("Please enter your name:");
    if (person != null ){
    document.getElementById("txt").innerHTML =
    "Welcome " + person + "! It's an honor for me that you are here .";
    }
    
            
</script>