One of the things I try to push on my friends learning code is don’t get stuck on a lesson for 5 hours that should have taken 30 minutes just because you don’t fully understand it. Keep working it will come up enough that sooner or later the light bulb will turn on.