Learn JS (beta version) Need help on understanding the requirement

Learn javascript(Beta) by building an RPG - Step no. 45

Step 45

"You will also need to update the functions that run when the buttons are clicked again.

In your goStore() function, update the onclick property for each button to run buyHealth, buyWeapon, and goTown, respectively."

I cannot understand this requirment.

Welcome to the community!

Please use the help that appears after three failed attempts on a step?

In this way, you will be able to submit all code along with your questions and any error messages received for the code.

Thank you!

1 Like