You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed you used const which is an ES6 new syntax. It's a good practice to follow suit with the var by replacing it with let
Follow the DRY (Do-Not-Repeat-Yourself) principle in your code. You can call some of the elements you use more than once into their own separate const like the document.getElementById('getter') in your validate.js it's been called like 9 times.
Imaging changing the ID name in the main code, that means you have to change it in 9 places.
Happy Coding !!! 👍
The text was updated successfully, but these errors were encountered:
Thank you very much Sir!!!......
I will fix that Sir!!.....
I am very grateful Sir!!!
God bless you Sir and reward you for your labor of love Sir!!!.....
I am sincerely grateful Sir!!!
On Thu, Jul 9, 2020, 9:01 PM Uduak Essien ***@***.***> wrote:
*Great Job @tobi-bams <https://github.com/tobi-bams> !!! 👏*
- I noticed you used const which is an ES6 new syntax. It's a good
practice to follow suit with the var by replacing it with let
- Follow the DRY (Do-Not-Repeat-Yourself) principle in your code. You
can call some of the elements you use more than once into their own
separate const like the document.getElementById('getter') in your
validate.js it's been called like 9 times.
Imaging changing the ID name in the main code, that means you have to
change it in 9 places.
Happy Coding !!! 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANP4SFUKKOVIBKTO5TODUWTR2YOYNANCNFSM4OV5YMBQ>
.
Great Job @tobi-bams !!! 👏
const
which is an ES6 new syntax. It's a good practice to follow suit with thevar
by replacing it withlet
const
like thedocument.getElementById('getter')
in your validate.js it's been called like 9 times.Imaging changing the ID name in the main code, that means you have to change it in 9 places.
Happy Coding !!! 👍
The text was updated successfully, but these errors were encountered: