Thank you for your contribution @techcoderx !
- It is better to use
===instead of==(!==instead of!=)in JS and==trueseems redudant. - Some parts of the JS code end with a semicolon but some do not.
- some
varscould be replaced by eitherconstorlet. - The messages you are alert-ing in the JS code could be extracted in a JSON file so that you can internationalize them later.
- Unit Tests missing in the project - you could use
mocha/chaior other testing frameworks and set up the CI using travis-ci.com
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Chat with us on Discord.
Thank you for your review, @justyy! Keep up the good work!
Right on @justyy thank you for the feedback 💪
Posted using Partiko iOS