-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (51 loc) · 1.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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Challenge AluraGeek de gusDev</title>
<link rel="stylesheet" href="./styles/styles.css">
</head>
<body>
<header>
<h1>Challenge AluraGeek de gusDev</h1>
</header>
<main>
<section class="product-title">
<h2>Productos</h2>
<div id="product-container" class="scrollable">
<div class="product-list">
<img src="./assets/Gameboy.png" class="image" />
<div class="product-image">
<p>GameBoy</p>
<div class="item">
<p>$12.00</p>
<img src="./assets/trashIcon.png" />
</div>
</div>
</div>
<!-- Más productos-->
</div>
<!-- Productos dinámicos aquí -->
</section>
<section class="product-form">
<h2>Agregar Producto</h2>
<form id="product-form">
<label for="product-name">Nombre del producto:</label>
<input type="text" id="product-name" required />
<label for="product-price">Precio del producto:</label>
<input type="number" id="product-price" required />
<label for="product-image">Imagen del producto:</label>
<input type="file" id="product-image" accept="image/*" required />
<button type="submit">Agregar producto</button>
</form>
<div id="product-container" class="scrollable"></div>
</section>
</main>
<footer>
<p>© 2024 gusDev - AluraGeek</p>
</footer>
<script src="./scripts/scripts.js"></script>
<script src="./scripts/conectaAPI.js"></script>
</body>
</html>