I was about to go to sleep, so I obviously didn't test it out. Sure, the code is somewhat longer, but then I don't have a reliance on another file. That might not seem like a big issue, but that depends on how the jQuery file is delivered. If you self-host, that's a ~90K download for the minified version. That's not a disaster, but I'd probably avoid it to speed up the download. It depends how much work I'd save and how much space I'd save by writing in pure JavaScript.
The bigger trouble is with a CDN. That third-party hosting the file for you can learn a lot about your visitors.
It's not that jQuery is bad. It's about knowing when to use it. If you've weighed the benefits and the drawbacks, and then chose jQuery for your project, that's good. If it's the first thing you use, even if you don't need it, that can hurt your growth as a developer.