--- id: 5d79253791391b0acddd0ac5 title: Part 82 challengeType: 0 isHidden: true --- ## Description
Add the following code to `createLabel`: ```js label.className = "label"; label.textContent = name; container.appendChild(label); ```
## Instructions
## Tests
```yml tests: - text: See description above for instructions. testString: assert(/window\.onload[\s\S]*constcreateLabel=\(?name\)?=>\{constlabel=document\.createElement\(["']div["']\);?label\.className=["']label["'];?label\.textContent=name;?container\.appendChild\(label\);?\}/.test(code.replace(/\s/g, ""))); ```
## Challenge Seed
```html ```
### Before Test
```html Spreadsheet
```
### After Test
```html ```
## Solution
```html ```