Controlling a NEMA 17 stepmotor

I want to control a NEMA 17 stepmotor and my code looks like this, but something is wrong. And now this site says I can’t upload my code for somebody to tell me where I go wrong. What’s the idea of this forum if I can’t ask for help?

Did you read the initial guidelines for posting ?
You can also ATTACH a file as a text file or ZIP file too.

Whats the idea of posting on a forum and not reading the guidelines?

Didn’t see any guidelines for for posting. New to the forum! The forum isn’t very intuitive so maybe I am just stupid.

How to get the best from the forum (forum guidelines).

Also, when you post your code, please post a schematic of your wiring including all components and power supplies. How to make a schematic.