-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnews.html
More file actions
79 lines (79 loc) · 3.72 KB
/
Copy pathnews.html
File metadata and controls
79 lines (79 loc) · 3.72 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>U-Hub</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./assets/css/style.css"/>
<link rel="stylesheet" href="./assets/css/askLocModal.css"/>
<link rel="stylesheet" href="./assets/css/news.css"/>
</head>
<body>
<nav class="navbar navbar-dark bg-dark">
<div class="container-fluid">
<span class="navbar-brand brand-text h1">U-HUB</span>
<div class="nav-items d-flex justify-content-end">
<a href="./index.html" class="d-inline-block align-top text-center" id="nav-links">
<i class="fas fa-home fa-lg"></i><br>
Home
</a>
<a href="#" class="d-inline-block align-top text-center" id="nav-links">
<i class="far fa-newspaper"></i></i><br>
News
</a>
<a href="./weather.html" class="d-inline-block align-top text-center" id="nav-links">
<i class="fas fa-cloud-sun"></i><br>
Weather
</a>
</div>
</div>
</nav>
<header>
<h1>News</h1>
<div id="header-line"></div>
</header>
<main class="container-fluid page-contents" id="news-page">
<div class="row topics d-flex align-items-center">
<div class="col-12 col-sm-6 col-md-4 col-xl-3 col-xxl-2">
<select class="form-select" aria-label="Default select example" id="topic-select">
<option value="default" selected disabled id="default-option">Select a news topic</option>
<option value="news">General News</option>
<option value="sport">Sports</option>
<option value="tech">Technology</option>
<option value="world">World</option>
<option value="finance">Finance</option>
<option value="politics">Politics</option>
<option value="business">Business</option>
<option value="economics">Economics</option>
<option value="entertainment">Entertainment</option>
<option value="beauty">Beauty</option>
<option value="travel">Travel</option>
<option value="music">Music</option>
<option value="food">Food</option>
<option value="science">Science</option>
<option value="gaming">Gaming</option>
<option value="energy">Energy</option>
</select>
</div>
<div class="col-4 col-sm-2">
<button id="search-btn">Search</button>
</div>
</div>
<div class="row news-container">
<div class="col-12 header-page-container">
<h2 id="topic-header">Select a topic to see relevant news articles!</h2>
<div id="pageBtn-container"></div>
</div>
<div class="col news-info">
</div>
</div>
<!-- Fetch Request Error Modal -->
<div id="fetchError" class="modal"></div>
</main>
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
<script src="./assets/js/news.js"></script>
</body>
</html>