Comments help us break up our code and make it more manageable and readable.
When to use
Any time you have a section of code, it's a good idea to create a short comment describing the section.
HTML comments take this form: <!-- comment -->
Use them whenever you want to break up different sections of your code. Comments make your code more readable and are especially useful if you're working with a team of web developers - comments make your code more readable to the entire team as well as yourself.
Hints & tips
- Comments look like this: <!-- comment -->
- Use comments often!
Lesson notes are only available for subscribers.