Noob question about RF transmission code.

I have these super cheap rf transmitters and receivers for the sake of learning more into wireless comm. for Arduino (im a beginner) but I have no clue how to code it to send specific commands (like just an on and off, to start). I have read all relevant articles that I have been able to find but nobody has explained very simply what to do to as far as coding goes. I would appreciate any help.

Have a read of this . Explains the basics of sending data from one arduino to another using those RF modules. What do you actually intend to use the modules for.