-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcounter.html
55 lines (52 loc) · 2.11 KB
/
counter.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
<!doctype html>
<html lang="en">
<head>
<title>Counter</title>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<!-- Bootstrap CSS v5.2.1 -->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN"
crossorigin="anonymous"
/>
</head>
<body>
<header class="d-flex justify-content-between m-4">
<!-- place navbar here -->
<p>counter</p>
<a href="www.github.com/nazarenods"><p>NazarenoDS</p></a>
</header>
<main>
<section class="position-absolute top-50 start-50 translate-middle bg-light-subtle p-4 rounded-4">
<h1 class="num d-flex justify-content-center" style = "color:blue">0</h1>
<div>
<button class="btn btn-hero" data-id = "decrease">-</button>
<button class="reset btn btn-hero">RESET</button>
<button class="increase btn btn-hero">+</button>
</div>
</section>
</main>
<footer class="position-absolute top-100 start-50 translate-middle">
<!-- place footer here -->
<p>Practicando con el DOM...</p>
</footer>
<!-- Bootstrap JavaScript Libraries -->
<script
src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-BBtl+eGJRgqQAUMxJ7pMwbEyER4l1g+O15P+16Ep7Q9Q+zqX6gSbd85u4mG4QzX+"
crossorigin="anonymous"
></script>
<script src="./javascript/counter.js"></script>
</body>
</html>