You are working thru a lesson an error occurs. You try to make some changes and STILL there is an error. You’ve reread the tips and hints several times and the code looks correct.
We’ve all been there and the frustration sets in.
You are not alone and It’s likely that someone else had the same problem.
I look at any notes I’ve taken, re-read my code from bottom to top…looking for possible errors that I may have missed. I also always google the error (b/c I know that I’m not the only one who’s ever gotten the error) and check the documentation to see what I may have done wrong. And if I’m really stuck, I walk away for a time and do something else unrelated to code. Oftentimes, that helps to figure it out too.
Error messages are like my best friends when I’m stuck.
I like going over the steps my program should be following in my head, then analize my code line by line (without assuming anything works correctly) and see if it matches the list of steps I just went through.
I usually like to spend a lot of time trying to fix errors, but knowing when to walk away (not forever, obviously) is important too