How do I add code comments to a Thimble project?

עדכון אחרון: 60% מהמשתמשים הצביעו שזה היה מועיל
טרם התקבל סיוע בתרגום המאמר הזה. אם ידוע לך איך עובד התרגום ב־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

התנדבות

באפשרותך לצמוח ולשתף את המומחיות שלך עם אחרים. לענות על שאלות ולשפר מאגר הידע שלנו.

מידע נוסף