--- id: 5d68c758e0696bdec46938eb title: Part 44 challengeType: 0 dashedName: part-44 --- # --description-- Finally, update `text.innerText` to equal the `text` from the location object. So far we have been accessing properties of the location object using bracket notation. This time use dot notation. Here is how to access a `name` property of an object called `obj` using dot notation: `obj.name`. # --hints-- See description above for instructions. ```js assert(update.toString().match(/text\.innerText\s*\=\s*location\.text\;?/)); ``` # --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 ```