How do I add code comments to a Thimble project?

Keegi pole seda teemat veel tõlkinud. Kui sa juba tead, kuidas SUMO tõlkimine käib, siis alusta kohe tõlkimist. Kui soovid SUMO teemade tõlkimist õppida, siis palun alusta siit.

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]

Kas see teema oli abiks?

Palun oota...

Need suurepärased inimesed aitasid seda teemat kirjutada:

Illustration of hands

Vabatahtlikuna panustamine

Arenda ennast ja jaga oma teadmisi teistega. Vasta küsimustele ja täiusta meie teadmistebaasi.

Rohkem teavet