-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoding-security.html
67 lines (67 loc) · 2.58 KB
/
coding-security.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Security Authentication</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" class="">
<link rel="stylesheet" href="iframes.css" class="">
<script async src="https://pagead2.googlesyndication.com/pagead2/js/adsbygoogle.js?client=ca-pub-5066628083376319" crossorigin="anonymous"></script>
</head>
<body>
<!--main division-->
<div class="main">
<!-- a fixed header-->
<header class="fixed-header">
<!--cloRaz logo-->
<div class="logo">
<a href="#">
<span id="clo">clo</span><span id="R"><i>R</i></span><span id="az">az</span>
</a>
</div>
<!--body links-->
<nav>
<ul>
<li><a href="index.html" class="">Home</a></li>
<li><a href="library.html" class="active-library">Library</a></li>
<li><a href="about.html" class="">About Us</a></li>
</ul>
</nav>
</header>
<!--container division-->
<div class="container">
<p id="warning">⚠️ Please Provide a Valid Password</p><br>
<div class="input-cnt">
<i class="material-icons">person</i>
<input type="password" id="password" placeholder="Password" name="password">
</div><br><br><br><br><br>
<button onclick="checkPassword()" class="submit-btn">Enter</button><br><br><br>
<a id="protected-link" class="library-link" href="coding tutorials.html" style="display: none;">Beautiful Coding Tutorials</a><br><br>
<script>
function checkPassword() {
var password = document.getElementById("password").value;
if (password ==="112567") {
document.getElementById("protected-link").style.display = "block";
document.getElementById("protected-link").href ="coding tutorials.html";
alert("Correct Password");
}
else{
alert("😂 Incorrect Password");
}
}
</script>
</div><br><br><br><br><br><br><br><br><br><br><br>
<!--footer division-->
<div class="footer">
<!--horizantal rule line-->
<hr style="color: black; max-width: 100%;">
</hr>
<p class="footer-content">
<b>2025 ©</b> cloRaz Website | All Right Reserve.
</p>
</div>
</div>
<script src="iframes-controls.js"></script>
</body>
</html>