This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.

Smartphone icons created by Freepik - Flaticon

JavaScript Numbers

A common mistake is to expect this result to be 30:

var x = 10;
var y = 20;
document.getElementById("demo").innerHTML =
"The result is: " + x + y;
Legend

numbers string
When numbers are added to a string, the result is a string.