The interpretation is accomplished by the user's browser. They are usually easier to programme. The can be quickly modified since compilation steps are not necessary. The program is edited and recompiled to make sure that everything works correctly. A syntax error occurs when the grammar of the programming language has not been followed correctly, or if any typographical errors have occurred.
Compilers assist in the debugging of syntax errors.
Therefore, these are fairly easily corrected. A logic error is an error in the design of the algorithm. The program may execute, but the result will be incorrect. These errors can be dangerous and difficult to correct. Repeated testing of the program with simple input data is the key.