Is Learning JavaScript Sufficient for a Career in Tech?
If you know JavaScript can fulfil all your current and future goals/needs, then yes. It’s a hard language to learn, so if you eventually choose to delve into something like Python, or even most things (coding and non-coding) for that matter, they will seem like child’s play.
I’d recommend learning TypeScript (upgraded JavaScript) asap as it will reduce the amount of errors you encounter in your applications drastically which will help keep you going during your learning period. They really aren’t much different and a big regret of mine was not switching to it sooner, as someone who also comes from a design background.
The most important thing when learning to code is to get really good at one language (pretty much everything can be built with JavaScript/TypeScript anyway) because it’s the discipline and mental frameworks you build for yourself that matter. These can always be transferred.