Confusion about programming Logic

Hello, yes, I ran the sketch but it didn´t help me much figuring out the issue