Code: Select all
<!DOCTYPE html>
<html>
<head><title>JavaScript Examples</title></head>
<body>
<script>
// Lines of code are ended with a semicolon. Something you may have noticed in other posts.
document.getElementById('demo').innerHTML = "The totality of the code line. Something that isn't seen by others ends with a semicolon.";
Let q = "quarter";
// another example above
</script>
</body>
</html>
