-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (48 loc) · 2.11 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
<!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>Findit</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4"
crossorigin="anonymous">
</head>
<body>
<nav class="navbar navbar-dark bg-primary mb-3">
<div class="container">
<span class="navbar-brand">Findit</span>
</div>
</nav>
<div id="search-container" class="container">
<div id="search" class="card card-body bg-light mb-2">
<h4>Search Reddit</h4>
<form id="search-form">
<div class="form-group">
<input type="text" id="search-input" class="form-control mb-3" placeholder="Search Term...">
</div>
<div class="form-check form-check-inline">
Sort By:
<input class="form-check-input ml-2" type="radio" name="sortby" value="relevance" checked>
<label class="form-check-label">Relevance</label>
<input class="form-check-input ml-2" type="radio" name="sortby" value="new">
<label class="form-check-label">Latest</label>
</div>
<h5>Limit:</h5>
<div class="form-group">
<select name="Limit" id="limit" class="form-control">
<option value="5">5</option>
<option value="10">10</option>
<option value="25" selected>25</option>
<option value="50">50</option>
<option value="100">100</option>
</select>
</div>
<button type="submit" class="btn btn-dark btn-block mt-4">Search</button>
</form>
</div>
<div id="results"></div>
</div>
<script src="./index.js"></script>
</body>
</html>