Some days are worse than others.

Some days feel like you’re making no progress.

What you want to build doesn’t work.

You try to come up with a solution for a complicated function. It doesn’t work.

You watched a tutorial and it made sense. Then you try to come up with a solution on your own. And it’s way harder than it looked. You can’t solve it without going back and looking up the solution.

It’s frustrating and you feel dumb.

That’s normal.

I try to remember this quote from Marcus Aurelius, the Roman Emperor, and Stoic philosopher:

The cucumber is bitter? Then throw it out. There are brambles in the path? Then go around. That’s all you need to know.
Marcus Aurelius

So, it didn’t work? Break down the problem and try to look at a smaller problem that you haven’t solved. Read the docs. Watch the tutorial again and note where your knowledge is shaky.

Just move forward.