Learning to code is hard… there’s no way around this, I’m pretty sure in the beginning almost everybody feels exactly the way you feel - I know I did!
But if you enjoy it, I encourage you to push through, and to do it for fun. Go through the courses one by one. Invest a bunch of time into each challenge. Google concepts beyond the course. For example, I remember in 2021 googling extensively short-hand arguments when Chris started using them in Foundations because it would confuse the crap out of me. Two years later, it’s absolutely crystal clear in my head.
Also like Chris Parker says, ask questions here when you’re stuck. I know I asked questions over some silly problems in the beginning
You can do this!!