Here are a few things that I learned throughout the years and I think can help you:
Learn the basics.
Learn in public.
Build different projects.
Contribute to projects that you like.
Open source is the most powerful thing for a developer. You will work with different people from across the globe, create a network, solve people’s problems, will help developers who want to start to contribute to that project, etc. Contribute to different projects that you like or that you use daily. You don’t need to create the most complex thing for that project, you can easily start with a simple documentation suggestion. Try to mess a little bit with the code, read how the code works and how the project works under the hood. Open source contribution brings value not only for you who are contributing to the project but for people and companies who will use your code in the future to scale applications for millions of users.
Thanks for reading!