From d2beea1c68c44a6b0f58de59b6b628a8a690a4f1 Mon Sep 17 00:00:00 2001 From: divyanshmmantri <56482570+divyanshmmantri@users.noreply.github.com> Date: Sun, 22 Mar 2020 23:12:00 +0530 Subject: [PATCH 1/7] Rename LoginPageTask/index.html/Divyansh mantri to LoginPageTask/index.html --- LoginPageTask/index.html | 39 +++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/LoginPageTask/index.html b/LoginPageTask/index.html index 99031f8..1a231ee 100644 --- a/LoginPageTask/index.html +++ b/LoginPageTask/index.html @@ -15,21 +15,36 @@
-

Enter your details

-
- - - - - -

Age

+ +

LOGIN

+ + +

Enter your details:

+ +
+

+
+

+
+
+ +

+
+

+
+

+
+ +

Age

- + - +

- + + +
- \ No newline at end of file + From b08c3131d7921cb97c0e0f5807dbc3866d4d5863 Mon Sep 17 00:00:00 2001 From: divyanshmmantri <56482570+divyanshmmantri@users.noreply.github.com> Date: Sun, 22 Mar 2020 23:18:00 +0530 Subject: [PATCH 2/7] Update main.css --- LoginPageTask/main.css | 52 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/LoginPageTask/main.css b/LoginPageTask/main.css index 5991bf3..802490d 100644 --- a/LoginPageTask/main.css +++ b/LoginPageTask/main.css @@ -38,4 +38,54 @@ form { text-align: center; width: 100%; } -/* ========================WRITE YOUR CSS FROM HERE======================== */ \ No newline at end of file +/* ========================WRITE YOUR CSS FROM HERE======================== */ +body{ + background-color:powderblue; +} +h1 { + text-align: center; + color:white; + font-style:italic; + +} + +input[type=text] { + width: 200px; + padding: 20px; + height: 20px; + border-radius: 20px; +} +input[type=email] { + width: 200px; + padding: 20px; + height: 20px; + border-radius: 20px; + +} +input[type=password] { + width: 200px; + padding: 20px; + height: 20px; + border-radius: 20px; + +} +input[type=number] { + width: 200px; + padding: 20px; + height: 20px; + border-radius: 20px; + +} +#message{ + border-radius: 20px; +} +.btn{ + background-color:black; + color:white; + padding:20px; + border-radius:20px ; + width: 200px; +} + + + From ad83af81430f224ebf57a60a345c4350fda8ef90 Mon Sep 17 00:00:00 2001 From: divyanshmmantri <56482570+divyanshmmantri@users.noreply.github.com> Date: Sun, 22 Mar 2020 23:19:28 +0530 Subject: [PATCH 3/7] Update main.js --- LoginPageTask/main.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/LoginPageTask/main.js b/LoginPageTask/main.js index 05d42f4..9495b33 100644 --- a/LoginPageTask/main.js +++ b/LoginPageTask/main.js @@ -1 +1,25 @@ /* ========================WRITE YOUR JS FROM HERE======================== */ +function val() +{ +var pno=document.getElementById("phno").value; +var pno1=/^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/; +if(pno.length===10 && pno.match(pno1)) +{ +document.getElementById("message").style.color="green"; +document.getElementById("message").innerHTML="valid no"; +} +else +{ +document.getElementById("message").style.color="red"; +document.getElementById("message").innerHTML="invalid no"; +} +} +function val1() +{ +var pass=document.getElementById("pass").value; +var cpass=document.getElementById("cpass").value; +if(pass!=cpass) +{ + alert("password and confirm password should match"); +} +} From ed3a0507c4059a2791f53e45c33e8d78b6216223 Mon Sep 17 00:00:00 2001 From: divyanshmmantri <56482570+divyanshmmantri@users.noreply.github.com> Date: Sun, 22 Mar 2020 23:29:09 +0530 Subject: [PATCH 4/7] Create index.html --- Divyansh mantri/index.html | 48 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Divyansh mantri/index.html diff --git a/Divyansh mantri/index.html b/Divyansh mantri/index.html new file mode 100644 index 0000000..355b538 --- /dev/null +++ b/Divyansh mantri/index.html @@ -0,0 +1,48 @@ + + + + + + Login + + + + + + + + +
+ +

LOGIN

+ + +

Enter your details:

+
+
+

+
+

+
+
+ +

+
+

+
+

+
+ +

Age

+ + + +

+ + + + +
+ + + From d028f2857bc30bf1694b7283ad284d14b91a484e Mon Sep 17 00:00:00 2001 From: divyanshmmantri <56482570+divyanshmmantri@users.noreply.github.com> Date: Sun, 22 Mar 2020 23:31:51 +0530 Subject: [PATCH 5/7] Create main.css --- Divyansh mantri/main.css | 96 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 Divyansh mantri/main.css diff --git a/Divyansh mantri/main.css b/Divyansh mantri/main.css new file mode 100644 index 0000000..dde8e1d --- /dev/null +++ b/Divyansh mantri/main.css @@ -0,0 +1,96 @@ + + * { + box-sizing: border-box; +} + +body { + font-family: "open sans", helvetica, arial, sans; + +} +.logo{ + width: 200px; + + + +} +.log-form { + width: 100%; + min-width: 320px; + max-width: 475px; + background:grey; + position: absolute; + top: 70%; + left: 50%; + -webkit-transform: translate(-50%, -50%); + -moz-transform: translate(-50%, -50%); + -o-transform: translate(-50%, -50%); + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); +} + +h2 { + text-align:left; + color:white; +} + +.log-form { + padding: 2em; + -webkit-box-shadow: 4px -1px 53px -7px rgba(138, 138, 138, 0.30); + -moz-box-shadow: 4px -1px 53px -7px rgba(138, 138, 138, 0.30); + box-shadow: 4px -1px 53px -7px rgba(138, 138, 138, 0.30); +} + +form { + display: block; + text-align: center; + width: 100%; +} + +/* ========================WRITE YOUR CSS FROM HERE======================== */ +body{ + background-color:powderblue; +} +h1 { + text-align: center; + color:white; + font-style:italic; + +} + +input[type=text] { + width: 200px; + padding: 20px; + height: 20px; + border-radius: 20px; +} +input[type=email] { + width: 200px; + padding: 20px; + height: 20px; + border-radius: 20px; + +} +input[type=password] { + width: 200px; + padding: 20px; + height: 20px; + border-radius: 20px; + +} +input[type=number] { + width: 200px; + padding: 20px; + height: 20px; + border-radius: 20px; + +} +#message{ + border-radius: 20px; +} +.btn{ + background-color:black; + color:white; + padding:20px; + border-radius:20px ; + width: 200px; +} From dbd914d7b7e39de725a89bfe37892d2eb8266dd7 Mon Sep 17 00:00:00 2001 From: divyanshmmantri <56482570+divyanshmmantri@users.noreply.github.com> Date: Sun, 22 Mar 2020 23:36:32 +0530 Subject: [PATCH 6/7] Create main.js --- Divyansh mantri/main.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Divyansh mantri/main.js diff --git a/Divyansh mantri/main.js b/Divyansh mantri/main.js new file mode 100644 index 0000000..f473725 --- /dev/null +++ b/Divyansh mantri/main.js @@ -0,0 +1,24 @@ +function val() +{ +var pno=document.getElementById("phno").value; +var pno1=/^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/; +if(pno.length===10 && pno.match(pno1)) +{ +document.getElementById("message").style.color="green"; +document.getElementById("message").innerHTML="valid no"; +} +else +{ +document.getElementById("message").style.color="red"; +document.getElementById("message").innerHTML="invalid no"; +} +} +function val1() +{ +var pass=document.getElementById("pass").value; +var cpass=document.getElementById("cpass").value; +if(pass!=cpass) +{ + alert("password and confirm password should match"); +} +} From e72672d7ab905ef4ea1afd9ae08cd503986fbb8b Mon Sep 17 00:00:00 2001 From: divyanshmmantri <56482570+divyanshmmantri@users.noreply.github.com> Date: Mon, 23 Mar 2020 11:29:25 +0530 Subject: [PATCH 7/7] Create text --- Divyansh mantri/text | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Divyansh mantri/text diff --git a/Divyansh mantri/text b/Divyansh mantri/text new file mode 100644 index 0000000..71db77c --- /dev/null +++ b/Divyansh mantri/text @@ -0,0 +1,3 @@ +NAME-DIVYANSH MANTRI +COLLEGE-VIT VELLORE +YEAR AND BRANCH -SECOND YEAR COMPUTER SCIENCE