|Example:||// Write to element with ID of “line”.document.getElementById(“line”).innerHTML=”Are you sure?“;|
|Example:||/* This is anExample of a
- To add a single line comment, type: //
- On the same line enter the information you want as your comment.
- To add multi-line comments on the line you want your comment to start, type: /*
- On a new line start the comment you want to enter
- When your comment is complete, type: */