You should code every day for at least 30 minutes every day can increase your coding skills.
Follow this, You can learn how to write code.
You can solve one or two problems every day.
Starting you can solve the easy problem in few days. then solve the medium problem.
Never Give Up.
This field evolves so fast and you need to keep up with it.
Being a developer is a lifelong learning journey.
The worst thing you can do as a developer is to stop learning new technologies.
When you solve the problem then before finding the logic then solve the problem.
Find many logical solutions to a problem. it will improve your coding and logic skills.
Don't just write code without having a solution in mind.
First, find the solution then code it.
This will save you a lot of time.