-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (67 loc) · 2.49 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Student Card</title>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body>
<div class="container">
<div class="box formInputs">
<h3 class="title">Student Details</h3>
<form>
<div class="fields">
<label for="schoolName">School Name :</label>
<input id="schoolName">
</div>
<div class="fields">
<label for="studentName">Student Name :</label>
<input id="studentName">
</div>
<div class="fields">
<label for="dateOfBirth">Date of Birth :</label>
<input id="dateOfBirth">
</div>
<div class="fields">
<label for="rollNumber">RollNumber :</label>
<input id="rollNumber" type="number">
</div>
<div class="fields">
<label for="contactNumber">Contact Number :</label>
<input id="contactNumber" type="number">
</div>
<div class="fields res">
<button class="btn" type="button" onclick="updateCard()">Submit</button>
<button class="btn" type="reset" onclick="clearAll()">Clear All</button>
</div>
</form>
</div>
<div class="box">
<h2 class="title" id="SchoolNameVal">School Name </h2>
<div class="image">
<img src="download.png" alt="student-image">
</div>
<div class="fields">
<label> Student Name :</label>
<label id="StudentNameVal"> </label>
</div>
<div class="fields">
<label> Date Of Birth :</label>
<label id="DateofBirthVal"> </label>
</div>
<div class="fields">
<label> Roll Number :</label>
<label id="RollnoVal"> </label>
</div>
<div class="fields">
<label> Contact Number :</label>
<label id="contactNumberVal"> </label>
</div>
<button class="btn Print" type="button"
onclick="printIdCard()">Print ID Card</button>
</div>
</div>
</body>
</html>