-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (62 loc) · 2.3 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
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Prueba técnica</title>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<h1 class="text-center p-20 header"> Prueba técnica</h1>
<h2 class="p-20"> Ejercicio Nro 1 : </h2>
<p class="text-center">Dado el siguiente Arreglo de números enteros:</p>
<p class="text-center m-10">
<span class="array-styles">[45, 75, 200, 256, 1, 27]</span>
</p>
<ul class="p-20 list-style">
<li>Obtener el número mayor del arreglo:
<ul class="p-20 list-style">
<li class="highest-number-js text-bold"></li>
</ul>
</li>
<li>Obtener el número menor del arreglo:
<ul class="p-20 list-style">
<li class="minimunNumber-js text-bold"></li>
</ul>
</li>
<li>Obtener el segundo número mayor del arreglo:
<ul class="p-20 list-style">
<li class="second-highest-number-js text-bold"></li>
</ul>
</li>
</ul>
<div class="w-100 d-flex">
<button class="solution-1-js p-20 m-10-20 button-pink button-styles text-bold color-white">Ver solución</button>
</div>
<h2 class="p-20"> Ejercicio Nro 2 : </h2>
<p class="text-center "> Dado el siguiente Arreglo de cadenas:</p>
<p class="text-center m-10">
<span class="array-styles">[“erik”, ”leonardo”, ”andres”, “gerardo”, ”jan”, “renzo”]</span>
</p>
<ul class="p-20 list-style">
<li>Obtener el nombre más largo y escribirlo colocando en mayúscula la primera letra.
<ul class="p-20 list-style">
<li class="longest-name-js text-bold transform"></li>
</ul>
</li>
<li>Ordenar el arreglo alfabéticamente en forma ascendente(a-z), SIN USAR los métodos nativos (sort, map, filter, each) y
mostrar el resultado en un listado:
<ul class="p-20 list-style">
<li class="order-list text-bold"></li>
</ul>
</li>
</ul>
<div class="w-100 d-flex">
<button class="solution-2-js p-20 m-10-20 text-bold button-styles color-white button-green">Ver solución</button>
</div>
<script src="js/exercise-1.js"></script>
<script src="js/exercise-2.js"></script>
<script src="js/app.js"></script>
</body>
</html>