Skip to content

daryldelrosario/creditcard-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Challenge Project: Credit Card Checker

Using JavaScript to validate credit card numbers

Code Demo

credit card checker code demo

Instructions

  • this code demo uses Node.js
  • ran via terminal through command node main.js

Features

  • completed code for main functions:
    • validateCred(credNumArr)
    • findInvalidCards(credNumArrBatch)
    • idInvalidCardCompanies(invalidCredNumArrBatch)
  • completed code for extended functions:
    • convertToArr(credNumStr);
    • convertToValid(invalidCredNumStr);
  • all functions tested and passed

About

Using JavaScript to validate credit card numbers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published