https://www.apple.com/swift/playgrounds/ (I've had more success introducing programming with this than with any of the links below; it's a very compelling intro for those who already own an iPad/Mac, and the core concepts are generalisable to other languages/environments even if it's specific to Apple's APIs and hardware.)
I beg to differ: for all its qualities, Eloquent JavaScript is not a very beginner-friendly book. It goes quite deep into many JS intricaties and contains a lot of challenging tasks for people just discovering programming.
I have recommended to beginners before and most of them thanked me. I skimmed the page for your book but did not see the link to the free version. I am on mobile so maybe just missed it. Says read free here, but here is not a link. Clicking the book takes you to Amazon.
I second eloquent JavaScript. Been doing this book since v1 and recommend to just about anyone that asks for recommendations. I use typescript daily and have been hoping that this book gets updated for TS although it would be hard since it uses lots of JS tricks that may or may not be best practices in TS. Technically just renaming the files from .js to .TS would work the linter would go crazy
https://www.apple.com/swift/playgrounds/ (I've had more success introducing programming with this than with any of the links below; it's a very compelling intro for those who already own an iPad/Mac, and the core concepts are generalisable to other languages/environments even if it's specific to Apple's APIs and hardware.)
~~~
For Python:
https://automatetheboringstuff.com
https://nostarch.com/big-book-small-python-projects
~~~
For JS:
https://eloquentjavascript.net (project-based and for beginners)
https://javascript30.com (not for total beginners or self-study, would need a friend/tutor)