I took off two years to travel around the world. I learned so much from visiting every continent and meeting people from all walks of life.
I truly am a different person now, and I think I learned so much about life to help me be a better person.
However, I didn't do much coding or software work in that time.
I couldn't pass a leet coding interview if my life depended on it. I'm very out of practice and out of the loop.
What should I put on my resume? What should I try to learn or do to get back to work? Now seems like it is the worst time ever to go back. Is my career in big trouble?
I mostly did frontend work (angular) with some node or python backend work.
What worked for me was briefly brushing up on my data structures and algorithms, and then bombing several interviews. After eventually not bombing a few real interviews, I felt like I was back in the game.
On a resume, I would list your time as a sabbatical if you did no coding during that time, and I wouldn't give it more than a sentence of space. If you did even a little coding, I would focus more on what you coded.
Your decision to travel doesn't mean that your career is in trouble! You may or may not run into obstacles finding work during this time. Just be sure to prepare for a possibly lengthy process.