--- id: 5d67b945e0696bdec46938e7 title: Part 40 challengeType: 0 dashedName: part-40 --- # --description-- Now that the `goTown` function calls the `update` function with the first element of the `locations` array, it is time to use that location information to update the `innerText` and `onclick` properties. Inside the `update` function, change `button1.innerText` to equal `location["button text"]`. That line gets the `"button text"` property of the `location` that was passed into the `update` function\`. # --hints-- See description above for instructions. ```js assert( update .toString() .match(/button1\.innerText\s*\=\s*location\[[\'\"\`]button text[\'\"\`]\]/) ); ``` # --seed-- ## --before-user-code-- ```html