Hi! I'am trying to build someting like this but my experiance is not enough! Can somebody pls help?

Yeah. i know. i just dont know what to do. if i asked too much i am sorry. But right know what i am asking is the menu with encoder control. i write some of the codes up some points and i am taking some errors . i fixed some of them but not all so that is a little bit boring. Let me take it from the start. I'm using 5110 LCD screen, encoder button, nema 17 step motor and ZM-2H504 step motor driver. when i am trying to build a menu for that its just keep crashing.