Back to Freecodecamp

Task 27

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

latest1.6 KB
Original Source
<!-- (audio) Mark: I'll fix that and make sure that I use a while loop next time. -->

--instructions--

Listen to the audio and answer the question below.

--questions--

--text--

What will Mark do?

--answers--

Delete all his comments.

--feedback--

Mark realizes he needs better comments, not fewer.


Use a for loop again.

--feedback--

Mark now understands that a while loop is better in this case.


Correct his mistake and improve his code.


Ask someone else to fix his code.

--feedback--

Mark is going to fix the code himself.

--video-solution--

3

--explanation--

Mark recognizes the mistake and is planning to correct it as he says:

I'll fix that which means he will correct the mistake.

Make sure to use a while loop next time which means he will change his approach.

--scene--

json
{
  "setup": {
    "background": "company2-center.png",
    "characters": [
      {
        "character": "Mark",
        "position": {
          "x": 50,
          "y": 0,
          "z": 1.4
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "B1_17-1.mp3",
      "startTime": 1,
      "startTimestamp": 38.44,
      "finishTimestamp": 41.94
    }
  },
  "commands": [
    {
      "character": "Mark",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Mark",
      "startTime": 1,
      "finishTime": 4.5,
      "dialogue": {
        "text": "I'll fix that and make sure that I use a while loop next time.",
        "align": "center"
      }
    },
    {
      "character": "Mark",
      "opacity": 0,
      "startTime": 5
    }
  ]
}