-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
135 lines (132 loc) · 5.75 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Portal de Notícias</title>
<link rel="stylesheet" href="./main.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<header>
<div class="container">
<h1>EBAC News</h1>
<form >
<input type="search" placeholder="Busque no site">
<button type="submit">Pesquisar</button>
</form>
</div>
<div class="botao-menu">
<button type="button">Abrir menu</button>
</div>
<nav class="container">
<ul class="menu">
<li>
Esportes
<ul class="submenu">
<li>
<a href="#">Futebol</a>
</li>
<li>
<a href="#">Fórmula 1</a>
</li>
<li>
<a href="#">Basquete</a>
</li>
</ul>
</li>
<li>
Economia
<ul class="submenu">
<li>
<a href="#">Bolsa de valores</a>
</li>
<li>
<a href="#">Imposto de renda</a>
</li>
<li>
<a href="#">Fórmula Finanãs pessoais</a>
</li>
</ul>
</li>
</ul>
<div class="clear"></div>
</nav>
</header>
<div class="container conteudo">
<main>
<section class="destaque">
<h2>Em destaque</h2>
<article class="noticia">
<a href="#">
<img src="https://via.placeholder.com/320x320" alt=""/>
<h3>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Iste ab quaerat aut laudantium velit quis non voluptatem</h3>
</a>
</article>
</section>
<section >
<h2>Últimas notícias</h2>
<div class="noticias">
<article class="noticia">
<a href="#">
<img src="https://via.placeholder.com/320x320" alt=""/>
<h3>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Iste ab quaerat aut laudantium velit quis non voluptatem</h3>
</a>
</article>
<article class="noticia">
<a href="#">
<img src="https://via.placeholder.com/320x320" alt=""/>
<h3>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Iste ab quaerat aut laudantium velit quis non voluptatem</h3>
</a>
</article>
<article class="noticia">
<a href="#">
<img src="https://via.placeholder.com/320x320" alt=""/>
<h3>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Iste ab quaerat aut laudantium velit quis non voluptatem</h3>
</a>
</article>
<article class="noticia">
<a href="#">
<img src="https://via.placeholder.com/320x320" alt=""/>
<h3>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Iste ab quaerat aut laudantium velit quis non voluptatem</h3>
</a>
</article>
</div>
</section>
</main>
<aside>
<section class="novidades">
<h2>Novidades</h2>
<article class="noticia">
<a href="#">
<img src="https://via.placeholder.com/320x320" alt=""/>
<h3>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Iste ab quaerat aut laudantium velit quis non voluptatem</h3>
</a>
</article>
<article class="noticia">
<a href="#">
<img src="https://via.placeholder.com/320x320" alt=""/>
<h3>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Iste ab quaerat aut laudantium velit quis non voluptatem</h3>
</a>
</article>
<article class="noticia">
<a href="#">
<img src="https://via.placeholder.com/320x320" alt=""/>
<h3>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Iste ab quaerat aut laudantium velit quis non voluptatem</h3>
</a>
</article>
</section>
</aside>
</div>
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
<script>
$(document).ready(function(){
$('.botao-menu button').click(function() {
$('.menu').slideToggle();
})
})
</script>
</body>
</html>