-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathform.html
106 lines (92 loc) · 3.53 KB
/
form.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
href="https://fonts.googleapis.com/css?family=Montserrat'\"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Rajdhani"
rel="stylesheet"
/>
<link rel="stylesheet" href="./stylesheets/index.css" />
<link rel="stylesheet" href="./stylesheets/cards/card.css" />
<link rel="stylesheet" href="./stylesheets/cards/card1.css" />
<link rel="stylesheet" href="./stylesheets/cards/card2.css" />
<link rel="stylesheet" href="./stylesheets/cards/card3.css" />
<link rel="stylesheet" href="./stylesheets/cards/card4.css" />
<link rel="stylesheet" href="./stylesheets/cards/card5.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<title>Profile Card Generator</title>
</head>
<body class="dark-mode">
<div class="dark-mode-button">
<button id="dark-mode-toggle" onclick="toggleMode()">
<i id="mode-icon" class="fa fa-moon"></i>
</button>
</div>
<div class="input-form">
<h1>Profile Card Generator</h1>
<form id="card-form" action="">
<label for="image"><abbr title="required">*</abbr>Image URL:</label>
<input
type="text"
id="image"
required
placeholder="Attach your Image URL"
/>
<label for="name"><abbr title="required">*</abbr>Name:</label>
<input type="text" id="name" required placeholder="Write your name" />
<label for="bio"><abbr title="required">*</abbr>Bio:</label>
<input
type="text"
id="bio"
required
placeholder="Write something about you "
/>
<label for="twitter">Twitter Link:</label>
<input type="text" id="twitter" placeholder="twitter.com/xyz" />
<label for="github">GitHub Link:</label>
<input type="text" id="github" placeholder="github.com/xyz" />
<label for="linkedin">LinkedIn Link:</label>
<input type="text" id="linkedin" placeholder="linkedin.com/xyz" />
<label for="email"><abbr title="required">*</abbr>Email:</label>
<input type="email" id="email" required placeholder="[email protected]" />
<button id="generate">Generate Card</button>
</form>
</div>
<div class="container">
<div id="output" class="card-container">
<!-- Generated profile card will be displayed here -->
</div>
<div id="output1" class="card-container">
<!-- Generated profile card will be displayed here -->
</div>
<div id="output2" class="card-container">
<!-- Generated profile card will be displayed here -->
</div>
<div id="output3" class="card-container">
<!-- Generated profile card will be displayed here -->
</div>
<div id="output4" class="card-container">
<!-- Generated profile card will be displayed here -->
</div>
<div id="output5" class="card-container">
<!-- Generated profile card will be displayed here -->
</div>
</div>
<footer>
<p>This project is participating in Hacktoberfest.</p>
<p>© 2023</p>
</footer>
<script src="script.js"></script>
</body>
</html>