- Algorithms
- I/O
- Data Representation
In this project, you will create a tool called creditcard
to:
- Validate credit card numbers.
- Generate possible card numbers.
- Get information about card brands and issuers.
- Issue new card numbers.
Every computer program is a model, hatched in the mind, of a real or mental process.
— Alan J. Perlis. Structure & Interpretation of Computer Programs
PROJECT CONTEXT HERE.
- No external packages or CDN imports are allowed. If not, you will get
0
grade. - Only vanilla
HTML
,CSS
, andJavaScript
are allowed. No external libraries or frameworks (e.g.,jQuery
,React
) are permitted unless explicitly specified. If not, you will get0
grade. - The project MUST run without errors in the
console
on a modern browser. - If the application crashes unexpectedly during the review, you will receive a
0
. JavaScript
code must follow a standardESLint rules
and the mandatory rules listed below:
{
"semi": "error"
"no-console": "error",
"no-unused-vars": "error",
"no-var": "error",
"no-undef": "error"
}
- If any linter errors or warnings are presented, you will receive a
0
. - Init or configure
package.json
to run the following command and apply the linter to all.js
and.ts
files:
$ npm run lint
MANDATORY PART HERE
If you get stuck, try your code with the example inputs from the project. You should get the same results. If not, read the description again. Maybe you missed something, or your code is wrong. After the examples work, but your answer is still wrong, make some test cases you can check by hand. See if they work with your code. Use the complete example input.
If you are still stuck, ask a friend for help or take a break and come back later.
GUIDELINES FROM AUTHOR HERE.
This project has been created by:
AUTHOR NAME HERE.
Contacts: