The simple answer:
Non-metal and a Non-metal = covalent
Is it like this...
Metal and a Non-metal = Ionic
Or DAT!!!
Mad Crazy Yo!!!