-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (57 loc) · 2.41 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
59
60
<!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>Finddit</title>
<script src="/main.js" type="module" defer ></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
</head>
<body class="bg-light">
<nav class="navbar navbar-dark bg-primary mb-2">
<div class="container">
<span class="navbar-brand">Finddit</span>
</div>
</nav>
<div id="search-container" class="container">
<div id="search" class="card card-body mb-2">
<h4>Search Reddit</h4>
</div>
<form action="" id="search-form">
<div class="form-group">
<input type="text" id="search-input" class="form-control mb-3" placeholder="Search term...">
</div>
<div class="sortbyForm">
Sorty By :
<div class="form-check form-check-inline">
<input type="radio" name="sortby" value="relevance" class="form-check-input ml-2" checked>
<label class="form-check-label">
Relevance
</label>
</div>
<div class="form-check form-check-inline">
<input type="radio" name="sortby" value="latest" class="form-check-input ml-2">
<label class="form-check-label">
Latest
</label>
</div>
</div>
<div class="limitForm mt-2">
Limit :
<div class="form-group">
<select name="limit" id="limit" class="form-control mt-2">
<option value="5">5</option>
<option value="10">10</option>
<option value="15" selected>15</option>
<option value="20">20</option>
<option value="25">25</option>
</select>
</div>
</div>
<button type="submit" class="btn btn-dark btn-block mt-4">Search</button>
</form>
<div id="results"></div>
</div>
</body>
</html>