All Tracks/learn how to ask for clarification on code understanding/
Đang tải...
Hướng dẫn thử thách
1 / 46

Dialogue 1: Asking for Help to Understand Code

Watch the video to understand the context of the upcoming lessons.
Nhiệm vụ của bạn
Watch the video # --scene-- ```json { "setup": { "background": "company2-center.png", "characters": [ { "character": "Brian", "position": { "x": -25, "y": 0, "z": 1 } }, { "character": "Sarah", "position": { "x": 125, "y": 0, "z": 1 } } ], "audio": { "filename": "6.3-1.mp3", "startTime": 1 }, "alwaysShowDialogue": true }, "commands": [ { "character": "Brian", "position": { "x": 25, "y": 0, "z": 1 }, "startTime": 0 }, { "character": "Sarah", "position": { "x": 70, "y": 0, "z": 1 }, "startTime": 0.5 }, { "character": "Brian", "startTime": 1.52, "finishTime": 5.24, "dialogue": { "text": "Hey Sarah, I was going through the new code changes you made in this module,", "align": "left" } }, { "character": "Brian", "startTime": 5.52, "finishTime": 8.14, "dialogue": { "text": "and I might need some clarification on a specific part.", "align": "left" } }, { "character": "Sarah", "startTime": 8.66, "finishTime": 11.5, "dialogue": { "text": "Of course Brian, I can explain what I was trying to achieve there.", "align": "right" } }, { "character": "Sarah", "startTime": 11.78, "finishTime": 13.46, "dialogue": { "text": "What part of the code are you uncertain about?", "align": "right" } }, { "character": "Brian", "startTime": 13.76, "finishTime": 16.4, "dialogue": { "text": "In the function you added, it could be that I'm missing something,", "align": "left" } }, { "character": "Brian", "startTime": 16.58, "finishTime": 21.02, "dialogue": { "text": "but it may not be working as expected. I should probably understand the logic better.", "align": "left" } }, { "character": "Sarah", "startTime": 22.24, "finishTime": 24.22, "dialogue": { "text": "I understand Brian, let's go through it together.", "align": "right" } }, { "character": "Sarah", "startTime": 24.58, "finishTime": 27.96, "dialogue": { "text": "I can walk you through the code, and we should be able to figure out what's going wrong.", "align": "right" } }, { "character": "Sarah", "position": { "x": 125, "y": 0, "z": 1 }, "startTime": 28.46 }, { "character": "Brian", "position": { "x": -25, "y": 0, "z": 1 }, "startTime": 28.96 } ] } ```
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.