Before we get too far, did you know you can leave notes for youself inside your code as you work?
Comments in code allow developers to leave information that is for other human developers only. Computers and processors ignore comments in code.
Let’s go over a few reasons why you may want to include comments in your code.
TODO:
“ within your code along with what it is you still need to todo. There are even packages from editors, such as Atom, that can show you a list of your remaining TODO’s in a project or simply highlight your TODO’s for you to easily see.Comments are designated slightly different in every language. In HTML however, as with everything else, they are designated using a tag. Anything placed within this tag will be ignored by the browser.
NOTE: Comments are not hidden from other people. Comments, if included in your deployment code, will be available for the whole world to see.
<!-- This is an HTML comment -->
<!-- Everything placed between the 'dashes' is part of the comment. -->
<!-- Comments should not span multiple lines in HTML.
Sometimes this can cause issues for a browser's processor.
This comment is considered as bad style. -->
<!-- Instead, -->
<!-- You should place each line of a multi-line comment within a comment tag. -->
<!-- That would be considered proper style. -->
Read page 182 of Chapter 08 in Duckett.