Learn Basic JavaScript by Building a Role Playing Game step 148

whats asking:

" In your attack function, below the health variable, create an if statement. Set the condition to call the isMonsterHit function."

my code so far :

health -= getMonsterAttackValue(monsters[fighting].level);
if (isMonsterHit) {


Whats wrong guys ?

you are not calling the isMonsterHit function