I've been trying to learn Rust, so I've been reading the book by Klabnik, I'm on chapter 2 and it's been pretty okay I have to say, I really like how he explains everything and how painless it make it seem. I'm not saying it's not hard, my brain gets really tired after reading it and stuff but compared to other methods I've tried to learn any programming language it's been my best experience so far in a long series of failed attempts.
Keep in mind, I know a bit of html/css and I did write a bit of Python last year but I do not know any programming language. I've tried learning Ruby and failed and so on, but I do not know how to code in general. I know I shouldn't be trying to learn Rust as my first programming language but I really like the concept behind it so I'm going to try my best.
Now that you understand a bit of my background, I would like to ask if you could recommend me some books. I would love to know if there's a book similar to Klabnik's book but to learn front end web development. I've checked No Starch Press (the publisher that published the book) and they have some that could be good, but I'm not sure (https://nostarch.com/modernweb https://nostarch.com/CodingWorkbook).
I also would like a book that explains programming concepts, for example, what are functions, what are statements, strings, macross, and so on, I understand or think I understand a couple of these stuffs, but I feel like reading a book that explains a bit the math behind them would be a good idea.