For years I always relied on the library and framework to do the JS stuff for me. I know basic JS stuff but from the beginning, I use jQuery then moved to VueJS for web development. Nothing wrong with this but learning “Vanilla Javascript” will be beneficial to you as a web developer/software engineer.
So from today, for all the WordPress development I will do I will try to refrain on using jQuery and try to do it the vanilla javascript way. Especially if the software is not javascript-heavy. MDN is a good resource to learn from and I also found this site for those who rely heavily on jquery: youmightnotneedjquery.com