FACG5 / Later-team

0 stars 0 forks source link

Clean code. #18

Open sultanassi95 opened 6 years ago

sultanassi95 commented 6 years ago

Hi,

You should always make sure that your code is mistakes free, but, you have to consider removing console.log statements, un-necessary white lines and last but not least. you should properly have a good indentation.

in here you have 4 spaces before the keyword function, but in the next example, at the same scope, you have only one space and at other parts of your code at the same scope you have 0 spaces. https://github.com/FACG5/Later-team/blob/aaf09e86bb9ef670f8be49789e2e8d704cffb617/puplic/js/index.js#L22

:pray: please fix indentation in every part of your project. consider this: in each scope, you should start your lines with the same number of spaces at the beginning of them.