From 357a40fc47b22e0a6dacd1e097797cb4a708f3a7 Mon Sep 17 00:00:00 2001 From: Yash Verma <114978813+Rajput-xv@users.noreply.github.com> Date: Fri, 1 Sep 2023 00:31:18 +0530 Subject: [PATCH] html button function added, new html/webpage created --- index.css | 15 +++++++++++++++ index.html | 5 +++-- index.js | 3 +++ login.css | 15 +++++++++++++++ login.html | 27 +++++++++++++++++++++++++++ 5 files changed, 63 insertions(+), 2 deletions(-) create mode 100644 login.css create mode 100644 login.html diff --git a/index.css b/index.css index f7dccac..aa0d983 100644 --- a/index.css +++ b/index.css @@ -22,6 +22,21 @@ animation: gradient-animation 18s ease infinite; } */ +.sign-up a{ + text-decoration: none; + color: #000; +} + +.login a{ + text-decoration: none; + color: white ; +} + +.login { + --bs-btn-hover-color: #000 ; + --bs-btn-hover-bg: black !important; +} + .row.heading{ padding-top: 20px; padding-left: 50px; diff --git a/index.html b/index.html index 7a7ff63..0dfb346 100644 --- a/index.html +++ b/index.html @@ -62,8 +62,9 @@
E-Smart
- - + + +
diff --git a/index.js b/index.js index e69de29..5dc4337 100644 --- a/index.js +++ b/index.js @@ -0,0 +1,3 @@ +document.querySelector(".login button").addEventListener("click",function(){ + document.querySelector("a").href="login.html"; +}) \ No newline at end of file diff --git a/login.css b/login.css new file mode 100644 index 0000000..8c3a9b1 --- /dev/null +++ b/login.css @@ -0,0 +1,15 @@ +body{ + background-color: aqua; +} + +.card-container{ + background-color: black; +} + +.row{ + background-color: blue; +} + +.col{ + background-color: brown; +} \ No newline at end of file diff --git a/login.html b/login.html new file mode 100644 index 0000000..f63073d --- /dev/null +++ b/login.html @@ -0,0 +1,27 @@ + + + + + + Login-Signup + + + + +
+
+ +
+
One
+
+ +
+
Two
+
+ +
+ +
+ + + \ No newline at end of file