-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcertificate.html
110 lines (97 loc) · 4.57 KB
/
certificate.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
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Hind&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Signika+Negative:wght@700&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Prosto+One&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap" rel="stylesheet">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="/favi/favicon.ico">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/7be5b05fef.js" crossorigin="anonymous"></script>
<title>Tech Quiz</title>
</head>
<body>
<header>
<nav class="padding">
<div id="logo">
<h1>Tech Quiz</h1>
</div>
<div id="link">
<ul>
<li id="cross"><a href="javascript:void(0)" ><i class="fa-solid fa-circle-xmark"></i></a></li>
<li><a href="index.html">Home</a></li>
<li><a href="index.html#about">About</a></li>
<li><a href="index.html#contact">Contact</a></li>
</ul>
</div>
<div id="bar" class="padding"><i class="fa-solid fa-bars"></i></div>
</nav>
</header>
<section>
<div class="container padding">
<h1>Tech Quiz Certificate</h1>
<div class="test-note e" >
<h3>How to download certificate</h4>
<ul>
<li><i class="fa-solid fa-arrow-right"></i> Enter your name</li>
<li><i class="fa-solid fa-arrow-right"></i> Click on download button</li>
<li><i class="fa-solid fa-arrow-right"></i> Your Certificate is downloaded</li>
</ul>
</div>
<label id="d">
<h4>Enter Name: </h4>
<input id="name" type='text'>
</label>
<a href="#" id="download-btn">Download</a><br><br>
<canvas id="canvas" height="350px" width="500px"></canvas>
</div>
<div>
<div class="test-note padding e">
<h3>Benefit of Tech Quiz certificate</h3>
<ul>
<li><i class="fa-solid fa-arrow-right"></i> Enter your name</li>
<li><i class="fa-solid fa-arrow-right"></i> Click on download button</li>
<li><i class="fa-solid fa-arrow-right"></i> Your Certificate is downloaded</li>
</ul>
</div>
</div>
<script src="script.js"></script>
</section>
</section>
<section id="contact" class="padding">
<h2>Contact Us</h2>
<div id="contact-box">
<div id="form">
<form action="">
<input type="name" placeholder="Enter Your Name" class="inherit">
<input type="email" placeholder="Enter Your Email" class="inherit">
<input type="text" placeholder="Write Your Message" class="inherit">
<button class="button">Submit</button>
</form>
</div>
<div id="social">
<a href="https://www.facebook.com/"target="_blank"><i class="fa-brands fa-square-facebook"></i></a>
<a href="https://www.instagram.com/"target="_blank"><i class="fa-brands fa-square-instagram"></i></a>
<a href="https://twitter.com/i/flow/login"target="_blank"><i class="fa-brands fa-square-twitter"></i></a>
<a href="https://www.youtube.com/"target="_blank"><i class="fa-brands fa-square-youtube"></i></a>
</div>
</div>
</section>
<section id="copyright">
<div id="copyright-text">
<p>Copyright ©, ALL RIGHT'S RESERVERD </p>
</div>
</section>
<script type="text/javascript">
var btn = document.getElementsByClassName("button");
btn[0].addEventListener("click", function(){
alert("Submitted!!");
});
</script>
<script type="text/javascript" src="certificate.js"></script>
</body>
</html>