Is there any difference between
I found a solution:
The difference between
focus- doesn't bubble, can't be delegated,
focusin- bubbles to the parent element, can be delegated.
You can also check out the article I made to see a practical example for better understanding: