is in front one word?
both are correct, but use in front if you are writing a formal. "in front" of and "infront" of? grammatically the second is wrong because if you join the two together, it becomes a word and no longer a phrase.