Tell us what’s happening:
Describe your issue in detail here.
Change the innerText
property of the text
to be You enter the store.
.
Been stuck and not understanding what it needs from me. I need the answer itself not a hint to understand please
Your code so far
/* User Editable Region */
function goStore() {
button1.innerText = “Buy 10 health (10 gold)”;
button2.innerText = “Buy weapon (30 gold)”;
button3.innerText = “Go to town square”;
button1.onclick = buyHealth;
button2.onclick = buyWeapon;
button3.onclick = goTown;
innerText.text = “You enter the store.”;
}
### Your browser information:
### Challenge Information:
Learn Basic JavaScript by Building a Role Playing Game - Step 46
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-basic-javascript-by-building-a-role-playing-game/step-46