---
id: 587d7fb4367417b2b2512bfd
title: Add Keywords to Your package.json
localeTitle: Добавьте ключевые слова в ваш package.json
challengeType: 2
---
## Description
Поле ключевых слов - это то, где вы можете описать свой проект, используя связанные ключевые слова.
Пример
"keywords": [ "descriptive", "related", "words" ],
Как видите, это поле структурировано как массив строк в двойных кавычках.
Инструкции
Добавьте массив подходящих строк в поле ключевых слов в package.json вашего проекта Glitch.
Одно из ключевых слов должно быть freecodecamp.
## Instructions
## Tests
```yml
tests:
- text: В package.json должен быть действительный ключ "keys"
testString: 'getUserInput => $.get(getUserInput(''url'') + ''/_api/package.json'').then(data => { var packJson = JSON.parse(data); assert(packJson.keywords, ''"keywords" is missing''); }, xhr => { throw new Error(xhr.responseText); })'
- text: Поле «ключевые слова» должно быть массивом
testString: 'getUserInput => $.get(getUserInput(''url'') + ''/_api/package.json'').then(data => { var packJson = JSON.parse(data); assert.isArray(packJson.keywords, ''"keywords" is not an array''); }, xhr => { throw new Error(xhr.responseText); })'
- text: «ключевые слова» должны включать «freecodecamp»
testString: 'getUserInput => $.get(getUserInput(''url'') + ''/_api/package.json'').then(data => { var packJson = JSON.parse(data); assert.include(packJson.keywords, ''freecodecamp'', ''"keywords" does not include "freecodecamp"''); }, xhr => { throw new Error(xhr.responseText); })'
```
## Challenge Seed
## Solution
```js
// solution required
```