Back to Freecodecamp

Task 23

curriculum/challenges/english/blocks/learn-how-to-use-code-related-concepts-and-terms/6632fe1b6548f7887488a767.md

latest1.7 KB
Original Source
<!-- (Audio) Sarah: Functions are like small, reusable tasks that you can use in your code. -->

--description--

The term reusable refers to something that can be used more than once, especially in different situations or for various purposes. In programming, reusable often describes code that is designed to be used multiple times, either within the same program or in different programs, without needing to be rewritten.

--fillInTheBlank--

--sentence--

BLANK are like small, BLANK tasks BLANK you can use in your code.

--blanks--

Functions

--feedback--

This word refers to pieces of code designed to perform a specific task.


reusable

--feedback--

It means code or functions that can be used many times in different situations, saving time and effort.


that

--feedback--

It refers to a thing and introduces a defining clause about it.

--scene--

json
{
  "setup": {
    "background": "company2-roof.png",
    "characters": [
      {
        "character": "Sarah",
        "position": {
          "x": 50,
          "y": 0,
          "z": 1.4
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "5.2-2.mp3",
      "startTime": 1,
      "startTimestamp": 4.18,
      "finishTimestamp": 7.76
    }
  },
  "commands": [
    {
      "character": "Sarah",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Sarah",
      "startTime": 1,
      "finishTime": 4.58,
      "dialogue": {
        "text": "Functions are like small reusable tasks that you can use in your code.",
        "align": "center"
      }
    },
    {
      "character": "Sarah",
      "opacity": 0,
      "startTime": 5.08
    }
  ]
}