I think he meant something like this. https://tailwindcss.com/docs/animation (there is an animated button here). In my case I used it on my login button while in the demon the user is instantly logged in when they click on the login button in the real world that rarely happens as the frontend probably has to talk to some backend API and that takes a couple of noticeable milliseconds or even seconds depending on the connection. The loading animation just provides feedback to the user that their click/tap has been registered.
I think he meant something like this. https://tailwindcss.com/docs/animation (there is an animated button here). In my case I used it on my login button while in the demon the user is instantly logged in when they click on the login button in the real world that rarely happens as the frontend probably has to talk to some backend API and that takes a couple of noticeable milliseconds or even seconds depending on the connection. The loading animation just provides feedback to the user that their click/tap has been registered.