From a6da90f702b19290faa977873a9a97b008f6a0a2 Mon Sep 17 00:00:00 2001 From: BlueFlames17 <44452544+BlueFlames17@users.noreply.github.com> Date: Sun, 24 Feb 2019 01:24:31 -0500 Subject: [PATCH] Punctuation and spelling fix (#28316) --- guide/english/javascript/form-validation/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/english/javascript/form-validation/index.md b/guide/english/javascript/form-validation/index.md index 65be9f0078..75f1a32da4 100644 --- a/guide/english/javascript/form-validation/index.md +++ b/guide/english/javascript/form-validation/index.md @@ -81,7 +81,7 @@ Lookout [here](https://liveweave.com/LP9eOP) ### Basic Form Validation -First let us see how to do a basic form validation. In the above form, we are calling validate() to validate data when onsubmit event is occurring. The +First, let us see how to do a basic form validation. In the above form, we are calling validate() to validate data when onsubmit event is occurring. The following code shows the implementation of this `validate()` function. ```html @@ -161,7 +161,7 @@ Lookout [here](https://liveweave.com/nznVs6) ### HTML5 Form Constraints Some of commonly used HTML5 constraints for `` are the `type` attribute (e.g. `type="password"`), `maxlength`, `required`and `disabled`. A less -commonly used constraint is the `pattern` attrinute that takes JavaScript regular expression. +commonly used constraint is the `pattern` attribute that takes JavaScript regular expression. ### Validation Libraries Examples of validation libraries include: