-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
33 lines (31 loc) · 963 Bytes
/
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
<!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>Carrossel</title>
</head>
<body>
<div class="carousel-container">
<div class="carousel" id="carousel">
<div class="panel">
<h1>Painel 1</h1>
</div>
<div class="panel">
<h1>Painel 2</h1>
</div>
<div class="panel">
<h1>Painel 3</h1>
</div>
<div class="panel">
<h1>Painel 4</h1>
</div>
<!-- Adicione os outros três painéis semelhantes aqui -->
</div>
<button class="prev" onclick="changePanel(-1)">‹</button>
<button class="next" onclick="changePanel(1)">›</button>
</div>
<script src="script.js"></script>
</body>
</html>