I have been searching for a solution to this particular question on different platforms, including Stack Overflow. However, I am looking for an answer using pure JavaScript only, so please avoid jQuery solutions.
In order to provide context, I have included all of my code below. The issue seems to be related to the JavaScript section. My specific question is: How can I disable the "signup" div after it has been clicked once?
I have attempted to use a disable statement before calling the frame and fadeOut functions inside the HideLogin() function. I also experimented with CSS pointer-events, but nothing has worked so far. Each time I click SignUp, the animations repeat. Any assistance in solving this would be greatly appreciated.
JavaScript code here...
CSS code here...
HTML head content...
HTML body elements...