facn5 / shajaraWebSolutions

portfolio for web development agency based in Nazareth
0 stars 2 forks source link

Variable and function names #28

Closed shiryz closed 5 years ago

shiryz commented 5 years ago

You need to name your variables in a better and more meaningful way Something that makes it clear what they do and what is the purpose of them For example myFunction : https://github.com/facn5/shajaraWebSolutions/blob/master/script.js#L31 (e): https://github.com/facn5/shajaraWebSolutions/blob/master/script.js#L1

ghost commented 5 years ago

myFunction renamed to onScrollShowNavBar e renamed to element