-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
133 lines (117 loc) · 4.1 KB
/
index.html
File metadata and controls
133 lines (117 loc) · 4.1 KB
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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JS Lab | Fernando JAZ</title>
<style>
:root {
--bg: #0f172a;
--card-bg: #1e293b;
--text: #f1f5f9;
--accent: #38bdf8;
--text-dim: #94a3b8;
}
body {
font-family: 'Segoe UI', system-ui, sans-serif;
background-color: var(--bg);
color: var(--text);
margin: 0;
padding: 40px 20px;
display: flex;
flex-direction: column;
align-items: center;
}
header {
text-align: center;
margin-bottom: 40px;
}
h1 { font-size: 2rem; color: var(--accent); margin-bottom: 5px; }
.back-link { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; }
.back-link:hover { color: var(--accent); }
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
max-width: 1000px;
width: 100%;
}
.card {
background: var(--card-bg);
padding: 20px;
border-radius: 12px;
text-decoration: none;
color: inherit;
border: 1px solid #334155;
transition: all 0.3s ease;
}
.card:hover {
border-color: var(--accent);
transform: translateY(-3px);
background: #243347;
}
.card h2 {
margin: 0 0 10px 0;
font-size: 1.1rem;
display: flex;
align-items: center;
gap: 10px;
}
.card p {
margin: 0;
font-size: 0.9rem;
color: var(--text-dim);
line-height: 1.4;
}
.tag {
font-size: 0.7rem;
background: #0ea5e9;
color: white;
padding: 2px 8px;
border-radius: 4px;
text-transform: uppercase;
}
</style>
</head>
<body>
<header>
<!-- <a href="https://fernandojaz.github.io/" class="back-link">← Volver al Portafolio</a> -->
<a href="https://fernandojaz.github.io/"
style="position: fixed; top: 20px; left: 20px; z-index: 9999;
background: rgba(0,0,0,0.7); color: white; padding: 10px 15px;
border-radius: 50px; text-decoration: none; font-family: sans-serif;
font-size: 14px; border: 1px solid rgba(255,255,255,0.2);">
← Volver al Inicio
</a>
<h1>Laboratorio de JavaScript</h1>
<p style="color: var(--text-dim)">Experimentos visuales y lógica de programación</p>
</header>
<main class="grid">
<!-- Ejercicio 1 -->
<a href="dibujando_rellenando_trazos_1.html" class="card">
<h2><span class="tag">Canvas</span> Trazos y Rellenos I</h2>
<p>Primeros pasos con la API de Canvas: dibujando formas básicas y colores.</p>
</a>
<!-- Ejercicio 2 -->
<a href="dibujando_rellenando_trazos_2.html" class="card">
<h2><span class="tag">Canvas</span> Trazos y Rellenos II</h2>
<p>Evolución de trazados complejos y gestión de estilos avanzados.</p>
</a>
<!-- Ejercicio 3 -->
<a href="dron_solitario.html" class="card">
<h2><span class="tag">Lógica</span> Dron Solitario</h2>
<p>Simulación de movimiento y posicionamiento de un elemento único.</p>
</a>
<!-- Ejercicio 4 -->
<a href="la_vaca_que_sube.html" class="card">
<h2><span class="tag">Animación</span> La Vaca que Sube</h2>
<p>Control de coordenadas y animación de personajes en el eje vertical.</p>
</a>
<!-- Ejercicio 5 -->
<a href="marejada_drones.html" class="card">
<h2><span class="tag">Arrays</span> Marejada de Drones</h2>
<p>Gestión de múltiples elementos simultáneos usando arreglos y bucles.</p>
</a>
</main>
</body>
</html>