Shifting code from PICAXE to Arduino

i am having a lot of trouble understanding how to set the pinmodes.... the tutorials have examples using LEDs but don't show the range. What am I missing? :frowning: