Learn Basic JavaScript by Building a Role Playing Game - Step 129

Tell us what’s happening:

I think there might be an issue with checking the code for this step.

Your code so far

gold += Math.floor(6.7 * monsters[fighting].level); is not accepted.

gold += Math.floor(monsters[fighting].level * 6.7); is accepted.

Isn’t it the same?

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0

Challenge Information:

Learn Basic JavaScript by Building a Role Playing Game - Step 129

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