How do I add code comments to a Thimble project?

Нико није превео овај чланак. Ако знате како ради 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]

Да ли је овај чланак био од помоћи?

Сачекајте...

Ови добри људи су помогли у састављању овог чланка:

Illustration of hands

Волонтер

Растите и делите ваше знање са другима. Одговарајте на питања и побољшајте нашу базу знања.

Сазнај више