Starlit Daily

📚 › JavaScript: make pages do things

1. Printing with console.log

ستتم ترجمة هذا المقال تلقائيًا. يُعرض بالإنجليزية حاليًا.

console.log prints a value. Text goes inside quotes, such as "Hello". Each call prints on its own line.

Comments start with // and the computer ignores them. Use comments to explain your code.

عرض المثال

// This line is a comment
console.log("Hello");

✍️ دورك الآن

Print the text Hello, Dhaka.

← العودة إلى الدورة