I have this simple jquery logic, How would I convert that into pure javascript?
Beside I have to use this code in React with typescript.
I have no clue where t