Tell us what’s happening:
Describe your issue in detail here.
Your code so far
function goStore() {
button1.innertext = “Buy 10 health (10 gold)”.innertext = “You enter the store.”;
button2.innertext = “Buy weapon (30 gold)”.innertext = “You enter the store.”;
button3.innertext = “Go to town square”.innertext = “You enter the store.”;
button1.onclick = buyHealth;
button2.onclick = buyWeapon;
button3.onclick = goTown;
}
// User Editable Region
function goCave() {
console.log(“Going to cave.”);
}
function fightDragon() {
console.log(“Fighting dragon.”);
}
i am unable to figure out the next step right now, i am at step 46
please could you help me out.
### Your browser information:
User Agent is: <code>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36</code>
### 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