diff --git a/index.html b/index.html
index 12a902b..58939ba 100644
--- a/index.html
+++ b/index.html
@@ -9,7 +9,7 @@
Ejercicios
- - Ejercicio #1
+ - Ejercicio #1
- Ejercicio #2
- Ejercicio #3
- Ejercicio #4
diff --git a/js/ejercicio1.js b/js/ejercicio1.js
new file mode 100644
index 0000000..a162bdf
--- /dev/null
+++ b/js/ejercicio1.js
@@ -0,0 +1,10 @@
+// Definir variables.
+let numeros = [3, 5, 7, 1, 6];
+let mayor = 0;
+for (let i = 0; i < numeros.length; i++) {
+ if (numeros[i] > mayor){
+ mayor = numeros[i];
+ };
+
+}
+console.log(mayor);
\ No newline at end of file
diff --git a/pages/ejercicio1.html b/pages/ejercicio1.html
new file mode 100644
index 0000000..bac98a3
--- /dev/null
+++ b/pages/ejercicio1.html
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+ Ejercicio #1
+
+
+
+ Ejercicio #1
+ Escribir una función que tome un arreglo de números y devuelva el número mayor de la lista.
+ Arreglo usado [3, 5, 7, 1, 6]
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file