Back to Freecodecamp

Dialogue 2: Code Review

curriculum/challenges/english/blocks/learn-how-to-express-agreement/67b1aca09cf3a9ec7234c6fd.md

latest3.8 KB
Original Source

--description--

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

--assignment--

Watch the video.

--scene--

json
{
"setup": {
  "background": "company2-center.png",
  "characters": [
    {
      "character": "Sarah",
      "position": { "x": -25, "y": 0, "z": 1 }
    },
    {
      "character": "Mark",
      "position": { "x": 125, "y": 0, "z": 1 }
    }
  ],
  "audio": {
    "filename": "B1_10-2.mp3",
    "startTime": 1
  },
  "alwaysShowDialogue": true
},
"commands": [
  {
    "character": "Sarah",
    "position": { "x": 25, "y": 0, "z": 1 },
    "startTime": 0
  },
  {
    "character": "Mark",
    "position": { "x": 70, "y": 0, "z": 1 },
    "startTime": 0.5
  },
  {
     "character": "Sarah",
     "startTime": 1,
     "finishTime": 4.3,
     "dialogue": {
       "text": "Mark, I reviewed your code for the new feature and it's looking good.",
       "align": "left"
     }
   },
   {
     "character": "Sarah",
     "startTime": 4.54,
     "finishTime": 6.44,
     "dialogue": {
       "text": "It's well organized and works as expected.",
       "align": "left"
     }
   },
   {
     "character": "Mark",
     "startTime": 6.92,
     "finishTime": 10.66,
     "dialogue": {
       "text": "Thanks, Sarah. I made sure to keep the code clean and easy to read.",
       "align": "right"
     }
   },
   {
     "character": "Sarah",
     "startTime": 10.98,
     "finishTime": 12.76,
     "dialogue": {
       "text": "That's great. Clean code is helpful.",
       "align": "left"
     }
   },
   {
     "character": "Sarah",
     "startTime": 13.22,
     "finishTime": 16.68,
     "dialogue": {
       "text": "The comments you added in the code really helped the team understand what each part does.",
       "align": "left"
     }
   },
   {
     "character": "Mark",
     "startTime": 17.56,
     "finishTime": 21.76,
     "dialogue": {
       "text": "I'm glad you think so. I find it helps when we need to make changes later on.",
       "align": "right"
     }
   },
   {
     "character": "Sarah",
     "startTime": 22.26,
     "finishTime": 25.86,
     "dialogue": {
       "text": "Absolutely. I also like how you tested the code to make sure it doesn't have any errors.",
       "align": "left"
     }
   },
   {
     "character": "Sarah",
     "startTime": 26.04,
     "finishTime": 27.54,
     "dialogue": {
       "text": "It makes our work more reliable.",
       "align": "left"
     }
   },
   {
     "character": "Mark",
     "startTime": 27.54,
     "finishTime": 30.74,
     "dialogue": {
       "text": "Thanks. Testing is important to catch problems early.",
       "align": "right"
     }
   },
   {
     "character": "Mark",
     "startTime": 31.08,
     "finishTime": 33.12,
     "dialogue": {
       "text": "Is there anything else you'd like me to improve on?",
       "align": "right"
     }
   },
   {
     "character": "Sarah",
     "startTime": 33.84,
     "finishTime": 37.76,
     "dialogue": {
       "text": "Yes. Let's work on speeding up the database queries. It'll make the app run faster.",
       "align": "left"
     }
   },
   {
     "character": "Mark",
     "startTime": 37.98,
     "finishTime": 41.02,
     "dialogue": {
       "text": "Got it. I'll start working on that and let you know when it's ready.",
       "align": "right"
     }
   },
   {
     "character": "Sarah",
     "startTime": 41.38,
     "finishTime": 43.02,
     "dialogue": {
       "text": "Sounds great. Keep up the good work, Mark.",
       "align": "left"
     }
   },
   {
     "character": "Mark",
     "startTime": 43.66,
     "finishTime": 44.88,
     "dialogue": {
       "text": "Will do. Thanks, Sarah.",
       "align": "right"
     }
   },
  {
    "character": "Mark",
    "position": { "x": 125, "y": 0, "z": 1 },
    "startTime": 45.38
  },
  {
    "character": "Sarah",
    "position": { "x": -25, "y": 0, "z": 1 },
    "startTime": 45.88
  }
]
}