Like to add and share a fundamental approach. Create a flow diagram. This will help in breaking down the problem into multiple steps. Write a pseudo code, before jumping into the syntax. If you are a good problem solver, it’s just a matter of time to get a hang on language.
Also based on my experience javascript/node.js or python could be good start. They are comparatively easy to start.