How to Comment in Javascript, 2023 Javascript Fundamentals, Codecademy, Javascript Basics, JS Guide

In this Codecademy Javascript lesson, we take a look at comments. Comments can be useful when we want to add notes for ourselves or others. When our code base becomes larger, it makes more sense to add comments to explain what code does. Learning to comment in Javascript is important and can help us remember what a specific piece of code does and is something that should be done regularly and can save headaches down the road when questions arise concerning what certain lines of code do. We will code some comments in this lesson to embed them and make them a part of your programming tool kit in 2023 and beyond.