GoConqr has a new look! Let us know what you think.

Module 9 of 15 · Media

Comments

Kostas Diakogiannis

Comments

JS Comments

 

Javascript comments fulfill the same purpose with HTML and CSS comments. We write comments only to document our code, so if another member of our team has to read our code, in order to go further, doesn't have to spend much time understanding it. The comments agains are not going to be executed, and they will be ignored  during execution phase. There are 2 ways for writing a JS comment:

 

a) A Single line comment: // This is a comment

b) A multi line comment:

/*

See picture above for that,

this is multi-line comment,

got it?

*/

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?