is there any method to shorten this code? I want to do it using the "onclick" method. My goal is to make cards that are green when the correct guess is clicked and