The purpose of syntax highlighting is for making the code easier to read and understand, by drawing awareness to the various elements as well as their composition. By way of example, keywords and phrases can be colored in a unique hue to emphasize their importance, although opinions or strings may be coloured otherwise to distinguish them in the co