Project: sensor that triggers a stepper motor

Well, what do you think that would be a good start?

You will get help with your code problems (that has something to do with arduino)
once you have started your project, before that, learn the first steps.
There are good examples waiting within the IDE.

Cheers,
Kari