Back to Freecodecamp

Dialogue 2: Asking for Help on a Bug

curriculum/challenges/english/blocks/learn-how-to-ask-for-clarification-on-code-understanding/65f50a13853f93ef6c7337c1.md

latest2.7 KB
Original Source

--description--

Watch the video to understand the context of the upcoming lessons.

--assignment--

Watch the video

--scene--

json
{
  "setup": {
    "background": "company2-center.png",
    "characters": [
      {
        "character": "Tom",
        "position": { "x": -25, "y": 0, "z": 1 }
      },
      {
        "character": "Sarah",
        "position": { "x": 125, "y": 0, "z": 1 }
      }
    ],
    "audio": {
      "filename": "6.3-2.mp3",
      "startTime": 1
    },
    "alwaysShowDialogue": true
  },
  "commands": [
    {
      "character": "Tom",
      "position": { "x": 25, "y": 0, "z": 1 },
      "startTime": 0
    },
    {
      "character": "Sarah",
      "position": { "x": 70, "y": 0, "z": 1 },
      "startTime": 0.5
    },
    {
      "character": "Tom",
      "startTime": 1,
      "finishTime": 4.36,
      "dialogue": {
        "text": "Hey, Sarah. I'm dealing with a persistent bug in this section of the code.",
        "align": "left"
      }
    },
    {
      "character": "Tom",
      "startTime": 4.74,
      "finishTime": 7.3,
      "dialogue": {
        "text": "I can't figure it out and I may need your expertise.",
        "align": "left"
      }
    },
    {
      "character": "Sarah",
      "startTime": 8.16,
      "finishTime": 11.46,
      "dialogue": {
        "text": "Sure, Tom. I can take a look at it. Let's start by identifying the issue.",
        "align": "right"
      }
    },
    {
      "character": "Sarah",
      "startTime": 11.9,
      "finishTime": 13.06,
      "dialogue": {
        "text": "Where does it seem to be happening?",
        "align": "right"
      }
    },
    {
      "character": "Tom",
      "startTime": 13.74,
      "finishTime": 16.7,
      "dialogue": {
        "text": "Well, I believe it may be related to data processing.",
        "align": "left"
      }
    },
    {
      "character": "Tom",
      "startTime": 17.18,
      "finishTime": 20.2,
      "dialogue": {
        "text": "I've tried a few things, but it could be something more complicated.",
        "align": "left"
      }
    },
    {
      "character": "Sarah",
      "startTime": 20.9,
      "finishTime": 23.78,
      "dialogue": {
        "text": "I see. I should probably debug it step by step.",
        "align": "right"
      }
    },
    {
      "character": "Sarah",
      "startTime": 24.1,
      "finishTime": 26.52,
      "dialogue": {
        "text": "With your input, we can work together to solve this problem.",
        "align": "right"
      }
    },
    {
      "character": "Sarah",
      "position": { "x": 125, "y": 0, "z": 1 },
      "startTime": 27.02
    },
    {
      "character": "Tom",
      "position": { "x": -25, "y": 0, "z": 1 },
      "startTime": 27.52
    }
  ]
}