Code Academy recently started charging for some of their resources, but they claim that the free resources are still sufficient for learning the language. You should not need to purchase an account to pursue this option.
When Code Academy first emerged on the scene, it was one of the only games in town for people who wanted free, interactive coding instruction. In 2020, as the staff at Net Magazine recently noted, there are many high-quality options. If you are interested in testing out a different system, please feel free to do some additional research and send me an email when you've identified a potential platform and topic.