Back to Freecodecamp

Task 3

curriculum/challenges/english/blocks/learn-about-speculation-and-requests/67ee4aa1f9837a09a9c30f39.md

latest1.8 KB
Original Source
<!-- (audio) Sophie: Hey Mark, I was reviewing your latest code submission, and I noticed a small error in the loop structure. -->

--instructions--

Listen to the audio and answer the question below.

--questions--

--text--

What did Sophie notice?

--answers--

A security issue in the code submission.

--feedback--

Sophie didn't find a security issue.


That Mark forgot to submit his code.

--feedback--

Mark had already submitted his code, and Sophie was reviewing it.


A mistake in the way the loop was structured.


That the function names were incorrect.

--feedback--

Sophie doesn't mention an issue in function names.

--video-solution--

3

--explanation--

Sophie was reviewing Mark's code submission and noticed a small error in the loop structure.

A loop structure controls how a program repeats certain actions. If there is a mistake in it, the loop might run incorrectly, cause an infinite loop, or fail to execute properly.

--scene--

json
{
  "setup": {
    "background": "company2-center.png",
    "characters": [
      {
        "character": "Sophie",
        "position": {
          "x": 50,
          "y": 0,
          "z": 1.4
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "B1_17-1.mp3",
      "startTime": 1,
      "startTimestamp": 0,
      "finishTimestamp": 5.36
    }
  },
  "commands": [
    {
      "character": "Sophie",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Sophie",
      "startTime": 1,
      "finishTime": 6.36,
      "dialogue": {
        "text": "Hey Mark, I was reviewing your latest code submission, and I noticed a small error in the loop structure.",
        "align": "center"
      }
    },
    {
      "character": "Sophie",
      "opacity": 0,
      "startTime": 6.86
    }
  ]
}