stevemckinnoncb you said it yourself. You got 95% right. That equates to a very high pass by pretty much any examination standards I know of. That means you’re doing really well.
As for advice I would say this. Probably for the whole time that you are actively programming you will have times where you feel the way you described. Every time you do, remember that while it might be frustrating, the act of problem solving when you don’t immediately know the right course of action or even direction, makes you a better programmer. So rather than beat yourself up about it, remember that when you feel that way you are actively improving so feel free to give yourself a pat on the back for tacking a tough problem head on instead!
Whilst you are learning I would avoid using AI to help you with answers for the reasons above. It can be a powerful tool but AI are prone to make mistakes too and when you are still learning you might not be able to spot those errors. Feel free to experiment but don’t begin to lean on it like a crutch.
If you really want to improve beyond Codecademy I’d highly recommend working on some projects locally. They can be whatever takes your fancy. Also, reading other peoples code is extremely helpful, you will see other ways of solving common problems. Open source repositories are a great way of accessing other peoples code.