Skip to content

Commit 0e2d2f7

Browse files
committed
Creacion Carpeta CLASE 6
1 parent 5a8453c commit 0e2d2f7

File tree

5 files changed

+231
-0
lines changed

5 files changed

+231
-0
lines changed

Clase 6/index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<script async src="index.js"></script>
7+
<title>CLASE 6 ARRAYS</title>
8+
</head>
9+
<body>
10+
CLASE 6 - ARRAYS
11+
</body>
12+
</html>

Clase 6/index.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/* let idProducto = "0xA51";
2+
let nombreProducto = "Arroz";
3+
let precio = 100;
4+
let stockProducto = 20; */
5+
6+
7+
//OBJETO
8+
9+
/**
10+
* Producto
11+
* @param id type String
12+
* @param nombre type String
13+
* @param stock type number
14+
* @param precio type number
15+
*/
16+
17+
let producto = {
18+
id: "0x51Q",
19+
nombre: "Arroz",
20+
stock: 20,
21+
precio: 100
22+
}
23+
24+
console.table(producto.nombre);
25+
console.log(producto.precio);

Entregas/Entrega2/estilos.css

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
html{
2+
font-family: Tahoma;
3+
}
4+
5+
body {
6+
font-family: sans-serif;
7+
font-weight: normal;
8+
font-size: 100%;
9+
color: #1b262c;
10+
11+
margin: 0;
12+
background-color: #0f4c75;
13+
}
14+
p {
15+
background-color: black;
16+
text-align: center;
17+
font-weight: bold;
18+
color: aliceblue;
19+
}
20+
#contenedor {
21+
display: flex;
22+
align-items: center;
23+
justify-content: center;
24+
25+
margin: 0;
26+
padding: 0;
27+
min-width: 100vw;
28+
min-height: 100vh;
29+
width: 100%;
30+
height: 100%;
31+
}
32+
33+
#central {
34+
max-width: 320px;
35+
width: 100%;
36+
}
37+
38+
.titulo {
39+
font-size: 200%;
40+
color:#bbe1fa;
41+
text-align: center;
42+
margin-bottom: 20px;
43+
}
44+
45+
#login {
46+
width: 100%;
47+
padding: 50px 30px;
48+
background-color: #3282b8;
49+
border-radius: 3px;
50+
-moz-border-radius: 3px;
51+
-webkit-border-radius: 3px ;
52+
53+
box-sizing: border-box;
54+
}
55+
56+
#login input {
57+
font-family: sans-serif;
58+
font-size: 110%;
59+
color: #1b262c;
60+
61+
display: block;
62+
width: 100%;
63+
height: 40px;
64+
65+
margin-bottom: 10px;
66+
padding: 5px 5px 5px 10px;
67+
68+
box-sizing: border-box;
69+
70+
border: none;
71+
border-radius: 3px 3px 3px 3px;
72+
-moz-border-radius: 3px 3px 3px 3px;
73+
-webkit-border-radius: 3px 3px 3px 3px;
74+
}
75+
76+
#login input::placeholder {
77+
font-family: sans-serif;
78+
color: #E4E4E4;
79+
}
80+
81+
#login button {
82+
font-family: sans-serif;
83+
font-size: 110%;
84+
color:#1b262c;
85+
width: 100%;
86+
height: 40px;
87+
border: none;
88+
89+
border-radius: 3px 3px 3px 3px;
90+
-moz-border-radius: 3px 3px 3px 3px;
91+
-webkit-border-radius: 3px 3px 3px 3px;
92+
93+
background-color: #bbe1fa;
94+
95+
margin-top: 10px;
96+
}
97+
98+
#login button:hover {
99+
background-color: #0f4c75;
100+
color:#bbe1fa;
101+
}
102+
103+
.pie-form {
104+
font-size: 90%;
105+
text-align: center;
106+
margin-top: 15px;
107+
}
108+
109+
.pie-form a {
110+
display: block;
111+
text-decoration: none;
112+
color: #bbe1fa;
113+
margin-bottom: 3px;
114+
}
115+
116+
.pie-form a:hover {
117+
color: #0f4c75;
118+
}
119+
120+
.inferior {
121+
margin-top: 10px;
122+
font-size: 90%;
123+
text-align: center;
124+
}
125+
126+
.inferior a {
127+
display: block;
128+
text-decoration: none;
129+
color: #bbe1fa;
130+
margin-bottom: 3px;
131+
}
132+
133+
.inferior a:hover {
134+
color: #3282b8;
135+
}

Entregas/Entrega2/index.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<link rel="stylesheet" href="./estilos.css" type="text/css">
7+
<script async src="./index.js"></script>
8+
<title>ENTREGA 01</title>
9+
</head>
10+
11+
<body>
12+
13+
<div id="contenedor">
14+
<div id="central">
15+
<div id="login">
16+
<div class="titulo">
17+
Acceso Usuario
18+
</div>
19+
<form id="loginform">
20+
<input type="text" name="usuario" placeholder="Usuario" required>
21+
22+
<input type="password" placeholder="Contrasena" name="password" required>
23+
24+
<button type="submit" title="Ingresar" name="Ingresar">Login</button>
25+
</form>
26+
<div class="pie-form">
27+
No tienes usuario?<a href="#">Registrate</a>
28+
</div>
29+
</div>
30+
<div class="inferior">
31+
<a href="#">Inicio</a>
32+
</div>
33+
</div>
34+
</div>
35+
</body>
36+
</html>

Entregas/Entrega2/index.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
//SEGUNDA ENTREGA
2+
//ARRAY
3+
4+
//-------------------------------------------------
5+
//FUNCION ingreso datos
6+
//-------------------------------------------------
7+
/*
8+
function ingreso (){
9+
const lista = [ "Nombre: ", "Apellido: ", "Cedula: " ];
10+
console.log(lista.values); */
11+
12+
13+
/* for (let value of lista) {
14+
dato = prompt ("Ingrese :");
15+
value += 1;
16+
console.log(value);
17+
}*/
18+
/* }
19+
20+
21+
22+
ingreso();
23+
*/

0 commit comments

Comments
 (0)