Back to Freecodecamp

Task 21

curriculum/challenges/english/blocks/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md

latest1.9 KB
Original Source
<!-- (Audio) Brian: When you're dealing with classes, begin by checking the class's name and properties. This will give you an idea of its purpose and its structure. -->

--description--

Listen to the audio and answer the question.

--questions--

--text--

What does Brian suggest doing first when dealing with classes?

--answers--

Write new properties for the class

--feedback--

Brian's advice is to begin by understanding the class, not by writing new properties.


Change the class's name

--feedback--

Brian does not suggest changing the name but rather checking the existing name and properties.


Discuss the class with a colleague

--feedback--

While discussing with a colleague can be helpful, Brian specifically advises to start by checking the class's name and properties.


Check the class's name and properties

--video-solution--

4

--scene--

json
{
  "setup": {
    "background": "company2-center.png",
    "characters": [
      {
        "character": "Brian",
        "position": {
          "x": 50,
          "y": 15,
          "z": 1.2
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "7.3-3.mp3",
      "startTime": 1,
      "startTimestamp": 6.48,
      "finishTimestamp": 13.78
    }
  },
  "commands": [
    {
      "character": "Brian",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Brian",
      "startTime": 1,
      "finishTime": 4.82,
      "dialogue": {
        "text": "When you're dealing with classes, begin by checking the class's name and properties.",
        "align": "center"
      }
    },
    {
      "character": "Brian",
      "startTime": 5.2,
      "finishTime": 8.3,
      "dialogue": {
        "text": "This will give you an idea of its purpose and its structure.",
        "align": "center"
      }
    },
    {
      "character": "Brian",
      "opacity": 0,
      "startTime": 8.8
    }
  ]
}