Back to Freecodecamp

Task 19

curriculum/challenges/english/blocks/learn-how-to-read-and-understand-code-documentation/66000fec4b5a8c348421fada.md

latest1.9 KB
Original Source
<!-- (Audio) Sarah: That's a great question. First, you should pay attention to the function's name and parameters. -->

--description--

Pay attention means to focus or concentrate on something. For example, In class, it's important to pay attention to the teacher's explanation.

In programming, parameters are the special kind of variables in a function that are used to pass data or information into the function. Like, The function calculateSum(a, b) has two parameters: a and b.

--fillInTheBlank--

--sentence--

That's a great question. First, you should BLANK attention to the function's name and BLANK.

--blanks--

pay

--feedback--

It's a part of a phrase meaning to focus or concentrate on something. Sarah advises focusing on specific aspects of the function.


parameters

--feedback--

They are values that functions use to pass data or information into the function.

--scene--

json
{
  "setup": {
    "background": "company2-breakroom.png",
    "characters": [
      {
        "character": "Sarah",
        "position": {
          "x": 50,
          "y": 0,
          "z": 1.4
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "7.2-2.mp3",
      "startTime": 1,
      "startTimestamp": 8.2,
      "finishTimestamp": 12.96
    }
  },
  "commands": [
    {
      "character": "Sarah",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Sarah",
      "startTime": 1,
      "finishTime": 2.18,
      "dialogue": {
        "text": "That's a great question.",
        "align": "center"
      }
    },
    {
      "character": "Sarah",
      "startTime": 2.74,
      "finishTime": 5.76,
      "dialogue": {
        "text": "First, you should pay attention to the function's name and parameters.",
        "align": "center"
      }
    },
    {
      "character": "Sarah",
      "opacity": 0,
      "startTime": 6.26
    }
  ]
}