Write a Multi-line Comment
Fill in the Blank Beginner
Question
Fill in the blank to start a multi-line comment.
Code
___
This is a multi-line comment.
It spans several lines.
*/
Hint
Multi-line comments start with a slash followed by an asterisk.
Explanation
/* starts a multi-line comment in JavaScript (and C, Java, CSS). Everything between /* and */ is ignored by the interpreter, even across multiple lines. This is useful for longer explanations or temporarily disabling blocks of code during debugging.
Related Resources
Related Lessons
- Comments and Readability
Learn about comments and code readability.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.