Starlit Daily

📚 › JavaScript: make pages do things

1. Printing with console.log

Este artículo se traducirá automáticamente. Por ahora se muestra en inglés.

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.

Ver ejemplo

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

✍️ Ahora te toca

Print the text Hello, Dhaka.

← Volver al curso