Coding is just about problem solving as it is about the syntax.
Learn the general idea behind variables (and their scope), conditionals and loops.
Then try solving some math problems with the recent acquired knowledge, such as having a variable go from 0 to 10, from 10 to 0, have only the odd numbers between 0 and 50, calculate a area of a circumference, etc...
Then learn about data structure and objects x instances and try showing these values in the screen, maybe changing its position for each new value, etc...
Try watching tutorials about coding on ti YouTube but focus on the ones that teach you how think about it rather than the syntax of a specific function of a specific language. Dont worry if it is not the same coding language, as the basis for coding is the same on most languages even if writing it may be slightly different (variables, contionals, loops, etc...)
I'm actualy very inclined on starting a tutorial series teaching how to code on GMS, but focusing a lot on the problem solving part integrated with the language.