If you are passionate about starting to code in 2024, i will advise taking some course in computer science and programming. Like , you could take and introduction course in python, java , HTML and CSS. These courses will help you for the basic ideas of programming, including loops and functions. Once you have understand the basic of coding, you can start working on your own projects and building your skills to be perfect.