forked from gabischool/Week6_JS_Assignment
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (70 loc) · 2.45 KB
/
index.html
File metadata and controls
73 lines (70 loc) · 2.45 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
<!-- DO NOT CHANGE THE HTML -->
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles.css">
<title>Gabi News - Latest Technology Updates</title>
</head>
<body>
<div>
<header class="header">
<div class="header-content">
<div class="header-top">
<div class="header-top-content">
<div class="header-left">
<img src="https://plus.gabischool.com/assets/uploads/gabinews.png" alt="Gabi News Logo" class="logo">
<div class="header-text">
<p>Your Source for the Latest Technology Updates</p>
</div>
</div>
</div>
</div>
<nav class="main-nav">
<div class="nav-links">
<a href="#" data-category="Latest News" class="active">Latest News</a>
<a href="#" data-category="Technology">Technology</a>
<a href="#" data-category="AI & ML">AI & ML</a>
<a href="#" data-category="Web Development">Web Development</a>
<a href="#" data-category="Cyber Security">Cyber Security</a>
</div>
</nav>
</div>
</header>
<!-- Templates -->
<template id="featured-template">
<div class="featured-article">
<article class="news-card featured">
<img class="news-image">
<div class="news-content">
<span class="featured-label">Featured Story</span>
<h2 class="news-title"></h2>
<div class="news-date"></div>
<p class="news-excerpt"></p>
<span class="tag"></span>
</div>
</article>
</div>
</template>
<template id="article-template">
<article class="news-card">
<img class="news-image">
<div class="news-content">
<h2 class="news-title"></h2>
<div class="news-date"></div>
<p class="news-excerpt"></p>
<span class="tag"></span>
</div>
</article>
</template>
<!-- News Container -->
<div id="news-container">
</div>
</div>
<script src="/dom_challenges.js"></script>
<script src="/array_challenges.js"></script>
<script src="/nav_actions.js"></script>
</body>
</html>
<!-- DO NOT TOUCH THE HTML, LEAVE AS IT IS -->