FCC is freezing

why is fcc freezing?

im on step 42 of building a role playing game on javascript

the site doesn’t want to load
i have a good laptop and the latest version of firefox, no extensions, no add blocking, etc

it doesnt even want to check the code

please assist

It seems like you’re encountering a problem with your code. Based on the instructions you provided, you need to update the text of button1 when the player clicks on it. You should remove the existing console.log("Going to store."); line from the goStore() function and replace it with a line that updates the text of button1 to say “Buy 10 health (10 gold)”.

Here’s how you can modify your goStore() function:

SOLUTION REMOVED

This will change the text of button1 when the player clicks on it. Make sure this modification is made and then try running your code again. If you continue to encounter issues, double-check for any syntax errors or other issues in your code.

1 Like

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

what do you mean that it doesn’t load? what doesn’t load?

I tried it that way its still not working. I think the problem is with the server.

So like whats happening is that, when I put in my response to the question and then press ctrl+enter, nothing happens.

In the web development exercises that I was doing previously, after pressing ctrl+enter, the server either passes me and gives me the option to submit or with say code failed and I can try again on that question.

but now when I press ctrl+enter nothing happens. like its frozen, but I can adjust my answer, it just doesn’t process it.

It may be that you have a syntax error, the console will give you more infos if that is the case, you can also share your code

I tried it again today and it started working. I’m not sure what the problem was. It wasn’t displaying any error infos. But I’m glad that its working now. Thanks

if it’s a syntax error you will find it opening the console

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.