Honestly, as a beginner myself, the best piece of advice I could give you (not just for coding, really it can be applied to anything) is just don’t be afraid to get stuck, and then spend time on it. An extract from an article I read really helped me understand why (and trust me when I say it definitely works! I probably spent hours, on each challenge, more than a day on the second one, and while that can seem discouraging, I felt like I was really learning because I truly had to understand what I was typing to actually come up with something) :
“In a variety of brain-mapping studies, scientists discovered that when faced with a problem, the left hemisphere of the brain—the side of the brain typically associated with analytical problem solving—got right to work. However, the tricky problems the scientists developed quickly wore out the left-brain thought process. The subjects became frustrated and complained about the unsolvable problems. This frustration was crucial because it signaled a need for an alternative method, and scientists saw a shift in activity from the left side of the brain to the right side—the more “creative” side—of the brain. Once activity shifted to the right side, subjects often experienced these moments of insight, a flash of activity in the brain resulting in them bolting upright in their chairs as the answer appeared to them. They had to get stumped in order to get creative and solve the problem.”
You should check out the full article here, I personally found it very useful: https://greatergood.berkeley.edu/article/item/five_tips_for_reaching_your_creative_potential
I hope this helped in any way! Don’t get discouraged, we’re learning together , you can do it! The longer you spend understanding right now, the easier it will be to actual make use of all your knowledge later on
There’s nothing wrong with seeking the forums/internet for help! It can really be helpful when looking at tackling a problem using different methods. Just make sure you spend as much time as you can trying to solve it yourself first!
Also! Personal preference, but since the lessons teach so much, I find it very useful to use some handwritten notes just to gather what I’ve learnt in one place and have access to it when I’m trying to solve something.