Tell us what’s happening: Hi! Once terminated the project, I’ve notice a problem in [easterEgg()] function: when you complete the function, the buttons remain in the state of [2] [8] [goTown]. It seems not well done, because the user could repeat again the function, pressing the button one or two. I’ve taken a not-so-elegant solution, changing the text and the function of the button inside the [easterEgg()] function, setting all for taking back the user to the town. Have you noticed the same problem?
N.
Challenge Information:
Learn Basic JavaScript by Building a Role Playing Game - Step 176