Previously I mentioned You Might Not Need jQuery. Another resource for writing vanilla JavaScript is https://htmldom.dev/.
The htmldom.dev examples are focused IE 11 and modern browsers. Each example is rated basic
, intermediate
, or advanced
. I wouldn’t worry about that too much though, even the advanced ones that I looked at came with plenty of explanatory text, making it a helpful resource for those at all levels of JavaScript experience.