Back to Freecodecamp

Dialogue 1: Asking for Help to Understand Code

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

latest2.8 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": "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
    }
  ]
}