-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (65 loc) · 3.21 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
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Portal de Noticias</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="css/index.css">
</head>
<body>
<header class="bg-dark">
<nav class="navbar container navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="#">Portal de Noticias</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item active" onclick=lastNews()>
<a id="ultimas" class="nav-link" href="#">Ultimas Noticias <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item" onclick=tech()>
<a id="tec" class="nav-link" href="#">Noticias de Tecnologia</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Pesquisa</a>
</li>
</ul>
<button id="atualizar" class="btn btn-success" onclick=getNews()>Atualizar Noticias</button>
</div>
</nav>
</header>
<main class="container mt-4">
<div id="listaDeNoticias" class="row">
<div class="col-4">
<div class="card"><img class="card-img-top"
src="https://midias.agazeta.com.br/2020/06/05/strawberry-moon-258089-article.jpeg">
<div class="card-body">
<h5 class="card-title">Fenômeno raro 'Lua de Morango' acontece nesta sexta e será visível no Brasil - A
Gazeta ES</h5>
<p class="card-text">Satélite mergulhará quase metade da face na sombra externa da Terra, iniciando às 14h45
(Horário de Brasília) – abaixo do horizonte. Segundo a Nasa, será mais visível na Ásia, Europa,
Austrália e América do Sul, mas também poderá ser observado no país</p><a class="btn btn-primary"
href="https://www.agazeta.com.br/brasil/fenomeno-raro-lua-de-morango-acontece-nesta-sexta-e-sera-visivel-no-brasil-0620">Ir
para noticia</a>
</div>
</div>
</div>
</div>
</main>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"
integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
crossorigin="anonymous"></script>
<script src="key.js"></script>
<script src="js/script.js"></script>
</body>
</html>