Back to Freecodecamp

Task 11

curriculum/challenges/english/blocks/learn-how-to-offer-technical-support-and-guidance/6620836572e36e46d688c04c.md

latest1.9 KB
Original Source
<!-- (Audio) Sarah: Exactly. Consistent indentation makes the code visually organized. It's a good practice. It also helps maintainability. -->

--description--

Listen to the audio and answer the question.

--questions--

--text--

Why is consistent indentation important in coding?

--answers--

It makes the code run faster.

--feedback--

While indentation makes code more readable, it does not impact the speed at which the code runs.


It improves code readability and maintainability.


It changes how the code works.

--feedback--

Indentation does not change the logic or functionality of the code; it only affects its appearance.


It's only important in some programming languages.

--feedback--

While some languages require indentation for the code to work, in all languages, consistent indentation is a good practice for readability.

--video-solution--

2

--scene--

json
{
  "setup": {
    "background": "interview-room3.png",
    "characters": [
      {
        "character": "Sarah",
        "position": {
          "x": 50,
          "y": 0,
          "z": 1.4
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "9.1-1.mp3",
      "startTime": 1,
      "startTimestamp": 20.02,
      "finishTimestamp": 26.78
    }
  },
  "commands": [
    {
      "character": "Sarah",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Sarah",
      "startTime": 1,
      "finishTime": 4.6,
      "dialogue": {
        "text": "Exactly. Consistent indentation makes the code visually organized.",
        "align": "center"
      }
    },
    {
      "character": "Sarah",
      "startTime": 4.84,
      "finishTime": 7.76,
      "dialogue": {
        "text": "It's a good practice. It also helps maintainability.",
        "align": "center"
      }
    },
    {
      "character": "Sarah",
      "opacity": 0,
      "startTime": 8.26
    }
  ]
}