Some people told me that both are ok while others told me that travelling is wrong. Which one is correct?
There are variations in British and America English, few examples are muffler silence, colour color etc. Both are correct and can be used according to language structures
That's all because of difference between in American and British English. TRAVELING is correct according to American english where as the other one is according to British English. There are other words also where same problems come like FAVORITE & FAVOURITE, COLOR & COLOUR.... numerous examples are there.