All things considered it may still be worth while to use Learn Functional Programming with Elixir (Pragprog) as your introduction to programming (especially before JavaScript) regardless of whether you continue all the way to Phoenix. It’ll likely set you up much better for anything else in the future.
It’s a tragedy how many people seem to get started with Python or JavaScript and then get stuck there (one of my rants).