I saw another user post a similar answer to this question on here! My answer is I've always been into finding out how things work and I've been gradually figuring out how computers work since the age of 8. I loved math growing up so I love anything logical and computers are all about that. As a teenager I started dabbling in html, batch, and some basic code editing.
I quickly got the hang of Java after we had an introduction at school, and soon I was going into a very large code base seeing mistakes others have made, and getting the understanding of best practices and what really matters.
Well the rest is history, I love picking up new things and deciding how all the software will communicate and deploy. The main skill people need to be able to code is knowing how to use a search engine. Because most of the time you're going to be using a tool or library someone else made and you'll need to rapidly find a solution to a problem you're having. If you can find the answers to all your questions, you can go go go.