This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.
Smartphone icons created by Freepik - Flaticon
// Assign the value 5 to x let x = 5; // Assign the value 2 to y let y = 2; // Assign the value x + y to z let z = x + y; // Display z document.getElementById("demo").innerHTML = "The sum of x + y is: " + z;