there's some good advice here but ill say what ive said before. keep it simple. 3 things:
1: wide, confident stance
2: good pop into the air
3: hit the rail with both feet at the same time (still shoulder-width stance)
some people say to lean more on the front foot but you dont need to be confused when you're learning. just focus on those 3 things and the rest will come in time.