Requests for help with code or how to solve a problem with code that has specific dependencies are on-topic; only requests for library recommendations are off-topic. Thus, if you have a question about how to do something with Bootstrap or with jQuery, for example, that's... a perfectly fine question to ask, so long as you include a Minimal, Reproducible Example.
If you want to know how to do something with a library, but aren't already using a library, then simply asking for answers that only use libraries doesn't pass the smell test for me, personally. You need to have a very good reason why the answer has to use a library if you aren't already using it. Typically this would be a scenario where you're asking a homework question, and your teacher has set out requirements for you. As mentioned above in the comments, in such cases you need to explicitly detail all the constraints around your expected task. Additionally, for homework, you need to show some kind of attempt at the effort already.
And if you are in a job where your boss demands that you "use a library. Any library!" and they are just one of those bosses that doesn't understand how libraries (or programming) work, hopefully you are writing code in JavaScript, and can just use the Vanilla.js library (which is an empty library), and just implement your code in plain JavaScript. Other languages may have something similarBy definition, of course, a library can only do things that the language itself can do. It just adds a layer of abstraction in an attempt to make certain things easier.