Im trying to output a success to the log if two conditions are met in an if statement in jquery. I have the below code, my click functions are working fine and changing the