Set smaller goals. You learn more from finishing. Pick something you can almost do, cut it to one feature, and commit to it. Learn only enough to finish that one feature.
Copy from somewhere else something that is close to what you want and modify it.
You can do it. Start embarrassingly small and stack tiny successes on each other to the moon