The error is saying: " You should add the return value of inventory.pop() to the Your string." try to put the inventory.pop() inside of the string, remember when you are using the pop, you are deleting the last string in the array inventory, replace the currentWeaponName with the pop, it will show the value like that: text.innerText += " Your " + inventory.pop() + " breaks.";