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

Станьте волонтером

Примножуйте ваші знання та діліться ними з іншими. Відповідайте на запитання та поповнюйте нашу базу знань.

Докладніше