For JavaScript, I would recommend continuing through our course, which teaches you all the basics. I’d definitely recommend also learning HTML and CSS basics, as the three are all closely linked.
In terms of books, I’d recommend https://eloquentjavascript.net/, which is really good and free.
In terms of the Python or JavaScript question, I would learn both. They are both really useful and versatile.
Learn client-side JavaScript (the stuff my course covers) along with HTML/CSS to make website front ends.
Learn server-side JavaScript (e.g. Node.js) and/or Python to make the server-side part of web sites; the bit that talks to databases, serves dynamic content, etc. Both are currently very popular, and useful in different ways. Python is probably more versatile, and Node is integral to a lot of mdern web tooling.
Once you’ve got the basics of JS under your belt, you should also look into learning a client-side framework or two, e.g. React, or Ember. You don’t need these to create web sites, but they are powerful and make a lot of tasks easier, plus they are very popular these days - many jobs will require knowledge of frameworks.