---
id: 678cc5439ab1443e4cedf876
title: Task 35
challengeType: 19
dashedName: task-35
lang: en-US
---

<!-- (audio) Tom: It's perfect for creating interactive elements on websites. -->

# --instructions--

Listen to the audio and answer the question below.

# --questions--

## --text--

When will you choose JavaScript according to Tom?

## --answers--

When you need to create server-side applications.

### --feedback--

Tom doesn't mention server-side applications.

---

When you want to add interactive elements to websites.

---

When you need to process large amounts of data quickly.

### --feedback--

Tom doesn't mention processing data.

---

When you need to create static web pages.

### --feedback--

Tom doesn't refer to creating static web pages.

## --video-solution--

2

# --explanation--

Listen for key words that describe what JavaScript is used for.  

`Perfect` – This suggests JavaScript is well-suited for a specific task.  
`Interactive elements` – This tells you the main purpose Tom is highlighting.  

`Websites` – This confirms the context in which JavaScript is used.  

# --scene--

```json
{
  "setup": {
    "background": "company2-breakroom.png",
    "characters": [
      {
        "character": "Tom",
        "position": {
          "x": 50,
          "y": 15,
          "z": 1.2
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "B1_9-1.mp3",
      "startTime": 1,
      "startTimestamp": 43.08,
      "finishTimestamp": 46.38
    }
  },
  "commands": [
    {
      "character": "Tom",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Tom",
      "startTime": 1,
      "finishTime": 4.2,
      "dialogue": {
        "text": "It's perfect for creating interactive elements on websites.",
        "align": "center"
      }
    },
    {
      "character": "Tom",
      "opacity": 0,
      "startTime": 4.7
    }
  ]
}
```
