-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (46 loc) · 2.15 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>
<head>
<title>NY Times Article Search</title>
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="./javascript/app.js"></script>
</head>
<body onload="initiate()">
<div class="contain-all">
<div class="title-section">
<h1 class="title"><i class="fas fa-newspaper"></i> New York Times Search</h1>
</div>
<form class="form-container">
<h2 class="sub-title">Search Paramaters</h2>
<div class="input-form-field">
<label>Search Term</label>
<input type="text" class="form-control" id="searchTerm" placeholder="">
</div>
<div class="input-form-field">
<label>Number of Records to Retrieve</label>
<input type="number" class="form-control" id="records" placeholder="5">
</div>
<div class="input-form-field">
<label>Start Year Date (Optional)</label>
<input type="text" class="form-control" id="startYear" placeholder="1950">
</div>
<div class="input-form-field">
<label>End Year (Optional)</label>
<input type="text" class="form-control" id="endYear" placeholder="2019">
</div>
<div class="button-bar">
<button type="button" id="search" class="bottomButton"><i class="fas fa-search"></i> Search</button>
<button type="button" id="clearResults" class="bottomButton"><i class="fas fa-trash-alt"></i> Clear Results</button>
</div>
</form>
<div id="container">
<h2 class="sub-title">Top Articles</h2>
<div id="topArticles"></div>
</div>
<footer>
<div class="footer-content">Made With Lots of Love <i class="fas fa-heart"></i> </div>
</footer>
</div>
</body>
</html>