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

Smartphone icons created by Freepik - Flaticon

JavaScript Strings

The safest way to break a code line in a string is using string addition.

document.getElementById("demo").innerHTML = "Hello " +
"Dolly!";

The + may be used for starting a new line in the code.