From ab7dbb3be14448d0434e271d4a2d0b6e7f2cfec9 Mon Sep 17 00:00:00 2001 From: Amandine Arias Date: Sat, 13 Feb 2021 15:49:28 +0100 Subject: [PATCH] feat (input) : add validation properties (#2) --- starterOnly/index.html | 51 ++++++++++++++++------------- starterOnly/modal.js | 73 +++++++++++++++++++++++++++++++++++------- 2 files changed, 89 insertions(+), 35 deletions(-) diff --git a/starterOnly/index.html b/starterOnly/index.html index 6f1aaa8a1d..e56152554a 100644 --- a/starterOnly/index.html +++ b/starterOnly/index.html @@ -64,52 +64,57 @@

>
-
+

-
+

-
+

+ class="text-control" + type="email" + id="email" + name="email" + autocapitalize="none" + />
-
+


- +

Quelles villes ?

+ class="formData"> btn.addEventListener("click", launchModal)); @@ -46,7 +95,7 @@ closeModalBtn.addEventListener("click", function(event) { closeModal(); }); - // close modal form - function closeModal() { - bground.style.display = "none"; - } \ No newline at end of file +// close modal form +function closeModal() { + bground.style.display = "none"; +} \ No newline at end of file