-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (54 loc) · 2.04 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
<!DOCTYPE html>
<html>
<head>
<title>Student ID Card Generator</title>
<link rel="stylesheet" href="ss/style.css">
</head>
<body>
<h1 class="header">ID CARD GENERATOR</h1>
<div class="container">
<div class="left-panel">
<h2>Enter Student Details</h2>
<form id="idCardForm">
<div class="form-group">
<label for="name">Enter Full Name:</label>
<input type="text" id="name" required>
</div>
<div class="form-group">
<label for="email">Enter college name </label>
<input type="text" id="email" required>
</div>
<div class="form-group">
<label for="studentId">Enter Student ID:</label>
<input type="text" id="studentId" required>
</div>
<div class="form-group">
<label for="course">Enter course</label>
<input type="text" id="course" required>
</div>
<div class="form-group">
<label for="photo">Enter Student's Photo:</label>
<input type="file" id="photo" accept="image/*" required>
<p id="photoName"></p>
</div>
<button type="submit">Generate Card</button>
</form>
</div>
<div class="right-panel">
<div class="id-card-container">
<div class="photo-container">
<div class="photo" id="idCardPhoto"></div>
</div>
<div class="student-info">
<h2 id="idCardName"></h2>
<p id="idCardEmail"></p>
<p id="idCardStudentId"></p>
<p id="idCardCourse"></p>
</div>
</div>
</div>
</div>
<script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script>
<script src="ss/script.js"></script>
</body>
</html>