Back to Freecodecamp

Task 30

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

latest1.9 KB
Original Source
<!-- (Audio) Sarah: Comments explain that function's purpose. -->

--description--

You've already learned about demonstrative pronouns like this, that, these and those. Remember to use them to refer to specific things or people, considering their proximity in time or space.

The genitive case, often indicated by an apostrophe and s (like function's), is used to show possession or belonging, typically for people or objects. It tells people that something belongs to or is a part of something else.

The word purpose refers to the reason why something is done or used, or why something exists. For example, The purpose of a clock is to tell time.

--fillInTheBlank--

--sentence--

Comments explain BLANK BLANK BLANK.

--blanks--

that

--feedback--

This pronoun is used to point out a specific thing being discussed or referred to in the context.


function's

--feedback--

This possessive form shows that something belongs to the function.


purpose

--feedback--

It refers to the reason or goal behind something. In this context, it describes what the function is intended to do or achieve, as explained by the comments in the code.

--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": 18.32,
      "finishTimestamp": 20.42
    }
  },
  "commands": [
    {
      "character": "Sarah",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Sarah",
      "startTime": 1,
      "finishTime": 3.1,
      "dialogue": {
        "text": "Comments explain that function's purpose.",
        "align": "center"
      }
    },
    {
      "character": "Sarah",
      "opacity": 0,
      "startTime": 3.6
    }
  ]
}