How do I add code comments to a Thimble project?

Webmaker Webmaker చివరిగా నవీకరించినది: 11/29/2015 60% of users voted this helpful
ఎవరూ ఇంకా ఈ వ్యాసం అనువదించడానికి సహాయం చేయలేదు. SUMO ఎలా పనిచేస్తుందో మీకు ఇప్పటికే తెలిసుంటే, అనువదించడం ప్రారంభించండి. మీరు SUMOకు వ్యాసాలు ఎలా అనువదించాలో నేర్ఛుకోవాలనుకుంటే, దయచేసి ఇక్కడ ప్రారంభించండి.

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

<!--your comment here-->

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]

ఈ వ్యాసం ఉపయోగపడిందా?

దయచేసి వేచివుండండి…

These fine people helped write this article:

Illustration of hands

ఔత్సాహికులవ్వండి

Grow and share your expertise with others. Answer questions and improve our knowledge base.

ఇంకా తెలుసుకోండి