You want a book that is free online to read while your internet is not working? Doesn’t really make sense. Also I would get updated on css3. For books in all seriousness when I first started I used the “for dummies” books. They break it down easily for anyone to understand, and they will run through the basics.
If you want to go deeper with JS, I suggest you checkout Kyle Simpson’s you don’t know JS.
super buddy , you rocks