How do I add code comments to a Thimble project?

Még senki nem segített lefordítani ezt a leírást. Ha már ismeri a SUMO-ban a fordítás menetét, elkezdheti a fordítást. Ha szeretné megtanulni, hogyan fordíthat leírásokat a SUMO-ban, kezdje itt.

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]

Hasznos volt a leírás?

Kérem, várjon...

Ezek a nagyszerű emberek segítettek a leírás megírásában:

Illustration of hands

Közreműködés

Növelje és ossza meg tapasztalatát másokkal. Válaszoljon kérdésekre és tökéletesítse a tudásbázisunkat.

További tudnivalók