Programming is hard.
Like learning a musical instrument or a foreign language, programming takes practice and it takes TIME before you become comfortable with it. Success begins with believing that you can! This is known as having a "growth mindset".
Look at the negative statements below on the dark background. Have a positive mindset instead.
I can't do this.
I am still learning. I will keep trying.
I don't know where to start.
I can identify what has to happen first.
My code doesn't work.
This is a challenge and a chance to learn something new.
This is too hard.
With more practice it will get easier.
I give up.
I will try a different way.
I don't know how.
I can learn how.
I am not good at this.
I can identify something I need to learn more about.
Everyone else is better at it than me.
Someone else could help me.
Being stuck is a good place to be because that is when we learn. Every programmer, even the most experienced get stuck on a problem that they can't solve immediately. The secret is to keep working at it.