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]

บทความนี้เป็นประโยชน์หรือไม่?

โปรดรอสักครู่...

These fine people helped write this article:

Illustration of hands

อาสาสมัคร

เพิ่มพูนและแบ่งปันความเชี่ยวชาญของคุณกับคนอื่น ๆ รวมถึงตอบคำถามและปรับปรุงฐานความรู้ของเรา

เรียนรู้เพิ่มเติม