I have a JavaScript programme that randomly selects an image of an object from the database and display that image to the user. The image is saved with the object name (i.e. apple.gif) I am using the following code in order to check whether the user input response is the correct answer to the test or not:
However the code does not do anything. Could anyone let me know what the problem is please?