Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<h1>JavaScript Strings</h1>
<p>Strings are written inside single or double quotes:</p>
<p id="demo"></p>
<script>
let carName1 = "Volvo XC60";  // Double quotes
let carName2 = 'Volvo XC60';  // Single quotes
document.getElementById("demo").innerHTML =
carName1 + " " + carName2; 
</script>
</body>
</html>