Tutorialsteacher

Follow Us

<!DOCTYPE html>
<html>
<body>
<h1>Demo: JavaScript Variables </h1>

<p id="p1"></p>
<script>
let msg;
document.getElementById("p1").innerHTML = msg;
</script>
</body>
</html>