All Tracks/workshop greeting bot/
Đang tải...
Hướng dẫn thử thách
1 / 15

Step 1

In this workshop you will learn how to work with JavaScript fundamentals by building a greeting bot. In this first step, you will want to output a message to the console from the greeting bot. Remember that you learned about `console.log()` and strings in previous lessons. Here is a reminder of how to use `console.log()` with strings: ```js console.log("Hello, World!"); ``` Add a `console.log()` statement that outputs the string `"Hi there!"` to the console. Don't forget your quotes around the message! # --before-each-- ```js const logSpy = __helpers.spyOn(console, 'log'); ```
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.js
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵
Test Output
Thử thách này không có bài test tự động. Hãy quan sát kết quả trực tiếp ở khung Preview.