How about testing your codes snippets first before saving them for deployment? Modern web trends have made this testing very easy. Now you can have your websites codes tested beforehand to find out all the loop holes and you can…