We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b423c4 commit baa0f42Copy full SHA for baa0f42
README.md
@@ -19,13 +19,13 @@ The most simple HTML5 forms validator
19
20
## Install
21
22
-```
+```console
23
npm i html5-form-validator
24
```
25
26
or
27
28
29
yarn add html5-form-validator
30
31
@@ -35,19 +35,19 @@ Just download this repository and link the files located in dist folder.
35
36
## Usage
37
38
+```javascript
39
import 'html5-form-validator';
40
41
42
Then initialize with default settings:
43
44
45
new html5formValidation();
46
47
48
or supply your own
49
50
51
const form = document.querySelector('#form');
52
53
new html5formValidation(form, {
0 commit comments