--- id: 5dbfe2f37736e5ee7d235548 title: Part 147 challengeType: 0 isBeta: true --- ## Description
Inside the for loop, use the `+=` operator to add to the end of `text.innerText`. Add the the number at index `i` in the `numbers` array with `numbers[i]`. Then add a new line. So the entire line inside the for loop should look like: `text.innerText += numbers[i] + "\n";`
## Instructions
## Tests
```yml tests: - text: See description above for instructions. testString: assert( pick.toString().replace(/\s/g, '').includes('for(vari=0;i<10;i++){if(Date.now()-_LP2>100)break;text.innerText+=numbers[i]+"\\n";}') || pick.toString().replace(/\s/g, '').includes('for(vari=0;i<10;i++){if(Date.now()-_LP2>100)break;text.innerText+="".concat(numbers[i],"\\n");}') ); # Also test for automatic loop protection ```
## Challenge Seed
```html ```
### Before Test
```html RPG - Dragon Repeller
XP: 0 Health: 100 Gold: 50
Monster Name: Health:
Welcome to Dragon Repeller. You must defeat the dragon that is preventing people from leaving the town. You are in the town square. Where do you want to go? Use the buttons above.
```
### After Test
```html ```
## Solution
```html ```