All the red words in your pic is telling you where to look for the error. You just need to look attentively and carefully.
Be sure to go through your code bits by bits every time if it’s not working. That way you can learn to debug and sharpen that skill, which is a crucial skill for coding.