While I haven't used any of the books myself, it seems that there are many results when I search Google for "java book pdf" or "javascript book pdf", though many of the Java books seem to be older. There's also WikiBooks, which has simpler/shorter books, though it seems that their printable and PDF versions of books aren't updated as frequently as the wiki contents.
One idea might be to load up a flash drive/memory card with a bunch of different PDF books as well as Node.JS, Visual Studio Code, Java JDKs, Java IDEs, etc. and let her try them and see what works best for her.