what am i doing wrong here some help please

Yes I wrote it but I am totally new to coding and only know basics.

Like when I say new I mean this is the first thing I have ever coded I got it as something to learn on.

Because for me I can read all day but I need to see what it does in action to really learn what I'm doing.