---
id: 5d65f6392012114c7d7c57ed
title: Part 20
challengeType: 0
isHidden: true
---
## Description
When a player clicks the 'Go to store' button, the buttons and text in the game should change.
Remove the code inside the `goStore` function. Add a new line of code inside the function that updates the text of `button1` so that it says "Buy 10 health (10 gold)".
For example, this code updates the text of `button` to say "Click Me": `button.innerText = "Click Me";`.
## Instructions
## Tests
```yml
tests:
- text: See description above for instructions.
# testString: assert(goStore.toString().match(/button1\.innerText\s*\=\s*[\'\"\`]Buy 10 health \(10 gold\)\.?[\'\"\`]/));
testString: assert((() => { goStore(); return button1.innerText === "Buy 10 health (10 gold)" })());
```
## Challenge Seed
```html
```
### Before Test
```html
RPG - Dragon Repeller
XP: 0Health: 100Gold: 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.