Day 4 at programming information
Today’s topic is Javascript Statement
I will give you some hints about how to create a Statement using this programming language
<html>
<body>
<h2>JavaScript Statements</h2>
<p>A <b>JavaScript program</b> is a list of <b>statements</b> to be executed by a computer.</p>
<p id="demo"></p>
<script>
var x, y, z; // Declare 3 variables
x = 5; // Assign the value 5 to x
y = 6; // Assign the value 6 to y
z = x + y; // Assign the sum of x and y to z
document.getElementById("demo").innerHTML =
"The value of z is " + z + ".";
</script>
</body>
</html>
I hope it’s helpful for you🥰

Bravo
ReplyDelete❤️❤️
ReplyDeleteBravo
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteAmazing
ReplyDeleteAmazing ❤
ReplyDeleteBravooo
ReplyDelete❤️❤️❤️
ReplyDeleteperfect
ReplyDelete