Skip to content

Commit e0c47dc

Browse files
authored
Merge pull request #9 from Sahoobarsharani/barsharani-sahoo
add login features
2 parents 7d5bf49 + 49d8539 commit e0c47dc

File tree

2 files changed

+36
-5
lines changed

2 files changed

+36
-5
lines changed

index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
}
55

66
body {
7-
background-color: rgba(83,138,214,1);
7+
background-color: rgb(56, 128, 230);
88

99

1010
}

index.html

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
<img src="https://is3-ssl.mzstatic.com/image/thumb/Purple71/v4/55/22/2d/55222de9-12ee-3a3c-2b29-9c0e74e3c953/source/512x512bb.jpg" alt="This is an image!!" width="50px" height="50px"></div>
3838
<div class="navbar">
3939

40-
<a href="#home">Home</a>
41-
<a href="#news">News</a>
42-
<a href="#contact">Contact</a>
43-
<a href="#about">About</a>
40+
<a href="#home"><mark>Home</mark></a>
41+
<a href="#news"><mark>News</mark></a>
42+
<a href="#contact"><mark>Contact</mark></a>
43+
<a href="#about"><mark>About</mark></a>
4444
</div>
4545

4646
<div class="logo"><button type="button" class="btn btn-dark" onclick="darkMode()">🌒</button>
@@ -53,6 +53,37 @@ <h2>Present Sir</h2>
5353
<p>An efficient Solutions for both Students and Teachers. </p>
5454
<br>
5555
<div class="button-cls">
56+
<form name="sign up.">
57+
58+
<table>
59+
<tr>
60+
<td colspan=2 text-align="center"></td>
61+
62+
</tr>
63+
<tr>
64+
<td colspan=2 text-align="center"><h2>Login</h2></td>
65+
</tr>
66+
<tr>
67+
<td><label for="uname">userName</label></td>
68+
69+
<td><input type="text" id="uname" name="uname" pattern="[A-Za-z]{5}" title="seven letter allwed" required></td>
70+
</tr>
71+
<tr>
72+
<td><label for="pwd">Password</label></td>
73+
<td><input type="password" id="pwd" name="uname" pattern="{4}" title="three or more character"></td>
74+
</tr>
75+
76+
<tr><pre>
77+
78+
<td><input type="submit" name="login-btn" id="login-btn" value="login"></td>
79+
80+
81+
<td><a href="regitration.html">Sign up</a></td>
82+
83+
</tr></pre>
84+
</table>
85+
</form>
86+
5687
<button class="btn-primary1">Login as Students</button>
5788
<br />
5889
<button class="btn-primary2">Login as Teachers</button>

0 commit comments

Comments
 (0)