The code needed to be debugged in order for the prompt to display, for the user, correctly when an input was incorrect. The bug that I changed was to add an additional equal sign to the line of code below:
if (inputValue = temp){ changed to if (inputValue == temp){
I located this answer in our Week 3 notes; in comparing two values to see if they are equal, JavaScript uses double equal signs (==).
This fixed the results to display the Sorry--not correct in the prompt box. Also, the code now tells the user the correct number of correct responses out of total tries.