What books do you recommend (particularly Java and Javascript) to learn in this offline context? Any alternatives to books?
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.
OCA: Oracle Certified Associate Java SE 8 Programmer I Study Guide: Exam
Pretty boring read but would definitely provide her a great base for getting to Java. Best wishes to your friend's daughter!