JavaScript: Ending for Lines of Code

Post Reply
User avatar
The Jason
Site Admin
Posts: 888
Joined: Tue Jul 01, 2025 10:13 am
Contact:

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> 




 

POSTREACT(ions) SUMMARY

Post Reply