Skip to content

A simple function for validating 10-digit ISBNs written in VueJs

Notifications You must be signed in to change notification settings

ariesabao/vuejs-isbn-digit-checker

Repository files navigation

vuejs-isbn-digit-checker

A simple function for validating 10-digit ISBNs written in VueJs

Sample Input:

  1. if user inputs 8535902775 then it should print "8535902775 is Valid".
  2. if user inputs 1843369283 then it should print "1843369283 is Not Valid".
  3. if user inputs 8-535-902-775 then it should print "8-535-902-775 is Valid".
  4. if user inputs 1-843-369-283 then it should print "1-843-369-283 is Not Valid".
  5. if user inputs 1-000-000-001 then it should print "1-000-000-001 is Valid".
Note: 
	- "Valid" must be text color Green.
	- "Not Valid" must be text color red. 
Be aware of dash "-" symbol.

Installation

* clone
* open cmd (if windows)
* locate the directory
* npm install
* npm run dev

Test

About

A simple function for validating 10-digit ISBNs written in VueJs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published