I have declare variable x using let.
In the output of this program , the value of x is not visible.
but when I declare x using var , I can see the output of this line .
var x = "5" + 2 + 10;
document.getElementById('para').innerHTML = `the value of x is : ${x}`;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=
, initial-scale=1.0">
<title>Document</title>
<!-- <link rel="stylesheet" href="jslearn.js" type="text/javascript"> -->
</head>
<body>
<h1> javascript </h1>
<p>
javascript is a wonderful programming language
</p>
<p> the result of adding is : </p>
<p id="para"></p>
<script src="jslearn.js"></script>
</body>
</html>
`