-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (38 loc) · 1.55 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTTP Response Codes</title>
<meta name="HTTP Response Codes" content="HTTP Codes with images">
<link rel="stylesheet" href="style.css">
<link rel="icon" href="image/icon.png">
<!-- CDN -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Roboto&display=swap" rel="stylesheet">
</head>
<body>
<div class="container">
<h1 class="header">HTTP Status Code</h1>
<div class="disp">
<div class="input-wrapper disp">
<input id="usrinp" class="inpbox disp" type="number" placeholder="Status Code...">
<button class="btn zoom" onclick="fetchInfo()">Check</button>
</div>
</div>
<div>
<div class="img-cont">
<img src="https://biq.cloud/wp-content/uploads/2021/01/81.-https-status-code.gif" id="gif" height="200" width="200" alt="Sorry, no image found for this code 😄">
<div class="info">
<h2 id="code"></h2>
<h2 id="codeInfo"></h2>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
<script src="statusCode.js"></script>
</body>
</html>