Follow

Commenting/un-commenting code in the playground

Commenting code allows you to easily add notes or hide functionality. When you comment a line of code it will remain in place but not be rendered by the browser. To comment code in The Playground simply highlight the portions of code you wish to comment then press control + / .

You can also comment your code by using: 

<!--- I'm a comment ---> 

for HMTL

/* I'm a comment */ 

for CSS

// I'm a comment  

for JavaScript

0 Comments

Please sign in to leave a comment.
Powered by Zendesk