Good day :) I am a college student. I cant find the right JavaScript code for my thesis. how can make image disappear by just answering a simple mathematical question by just typing it?i want to disappear the ant by solving the math problem above it.

the scenario is an ant is carrying a math operation above it. in order to kill the ant, i will answer the math operation that ant carries. here is the image.

any recommendation will be highly appreciated. thanks a lot :D