DevOps is really just a fancy word for a sysadmin you can ask to code and that knows enough programming to work IAC tools.
If your goal is devOps, learning to code at all is of course the first step, but afterwards I would tend more towards learning the basics of CI/CD, python (because if you know python you can learn other languages quickly) and a healthy dose of cloud environment and IAC tools like terraform and Ansible.