--- id: 5d67845ee0696bdec46938e2 title: Part 35 challengeType: 0 dashedName: part-35 --- # --description-- The `locations` array currently has one element which is an object. Within the array, and after the object's final curly brace, add a comma. On the next line within the array, add another object with all the same properties as the first object. Keep the property names the same on the second object, but change all the property values to the information from the `goStore` function. Also, set the `name` property to `store`. # --hints-- See description above for instructions. ```js assert.deepStrictEqual(locations[1], { name: 'store', 'button text': [ 'Buy 10 health (10 gold)', 'Buy weapon (30 gold)', 'Go to town square' ], 'button functions': [buyHealth, buyWeapon, goTown], text: 'You enter the store.' }); ``` # --seed-- ## --before-user-code-- ```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-user-code-- ```html ``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```