Compare Revisions
How do I add code comments to a Thimble project?
Revision 103394:
Revision 103394 by hannahkane on
Revision 110514:
Revision 110514 by hannahkane on
Keywords:
Search results summary:
Code comments do not show up when the page is rendered, and can be a helpful way to communicate information to remixers, directly in the code, in context.
Code comments do not show up when the page is rendered, and can be a helpful way to communicate information to people remixing your project.
Content:
Code comments do not show up when the page is rendered, and can be a helpful way to communicate information to remixers, directly in the code, in context. This could include instructions for things to remix, coding tips, etc.
==To add a comment to an HTML file, use this syntax==
<code><<!-- -->!--your comment here--> <!-- --></code>
==To add comments to a CSS file, use this syntax==
/* your comment here */
==To add a single-line comment to a JavaScript file, use this syntax==
// your comment here [be sure to include a line break at the end of your comment]
Code comments do not show up when the page is rendered, and can be a helpful way to communicate information to remixers, directly in the code, in context. This could include instructions for things to remix, coding tips, etc.
==To add a comment to an HTML file, use this syntax==
<code><<!-- -->!--your comment here--> <!-- --></code>
==To add comments to a CSS file, use this syntax==
/* your comment here */
==To add a single-line comment to a JavaScript file, use this syntax==
// your comment here [be sure to include a line break at the end of your comment]