Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

practica html #214

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions 02 - HTML/programas/3.-layoutYRutas.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
nav {
float: left;
width: 30%;
height: 300px;
/* only for demonstration, should be removed */
background: #ccc;
padding: 20px;
}
Expand All @@ -43,7 +41,6 @@
padding: 20px;
width: 70%;
background-color: #f1f1f1;
height: 300px;
}

/* Clear floats after the columns */
Expand Down Expand Up @@ -85,12 +82,14 @@ <h2>Ciudades</h2>
<li><a href="#">Londres</a></li>
<li><a href="#">Paris</a></li>
<li><a href="#">Tokyo</a></li>
<li><a href="#">NY</a></li>
</ul>
</nav>

<article>
<h1>Londres</h1>
<p>Londres es la capital de Inglaterra y es la ciudad más popular del Reino Unido, es la ciudad mas poblada con 13 millones de habitantes en su área metropolitana</p>
<img src="https://i.imgur.com/VkPf2b6.jpeg" alt="london"/>
</article>
</section>

Expand Down
Binary file added 02 - HTML/programas/Tacos El Jefe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
137 changes: 137 additions & 0 deletions 02 - HTML/programas/tacosElJefe.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tacos el Jefe</title>
</head>
<body>
<header>
<h1>Tacos el Jefe, desde 2022</h1>
</header>

<section>
<img src="./Tacos El Jefe.png" alt="Logo tacos el jefe"/>

<h2>Menú</h2>
<h3>Tacos grandes</h3>
<p>Todos incluyen nopales y cebollas</p>
<ul>
<li>Bisteck .................... $30</li>
<li>Chorizo .................... $30</li>
<li>Chuleta .................... $30</li>
<li>Pastor .................... $30</li>
<li>Campechanos ................ $30</li>
</ul>

<h3>Tacos pequeños</h3>
<p>Con cilantro y cebolla</p>
<ul>
<li>Bisteck .................... $15</li>
<li>Chorizo .................... $15</li>
<li>Chuleta .................... $15</li>
<li>Pastor .................... $15</li>
<li>Campechanos ................ $15</li>
</ul>

<h3>Especiales</h3>
<p>Haz tu combo con refresco por $10 más</p>
<dl>
<dt><b>Labrador</b> .................... $40</dt>
<dd>- Tortilla de maiz con pollo asado</dd>
<dt><b>Pastor Aleman</b> .................... $40</dt>
<dd>- Tortilla de harina con carne de res y queso</dd>
<dt><b>Pug</b> .................... $40</dt>
<dd>- Tortilla de maiz con chuleta</dd>
<dt><b>Adoptado</b> .................... $40</dt>
<dd>- Tortilla de maiz con Pastor</dd>
</dl>
</section>

<hr>

<section>
<h2>Ubicación</h2>
<h3>Sucursales</h3>
<table>
<tr>
<th>Nombre</th>
<th>Ubicación</th>
<th>Horarios</th>
</tr>
<tr>
<td>Centro</td>
<td><a href="https://goo.gl/maps/RdWy4qpNuuKJH98G9" target="_blank">Antonio Solis 166, Obrera</a></td>
<td>L - D 24H</td>
</tr>
<tr>
<td>Sur</td>
<td><a href="https://goo.gl/maps/qJZFjKZpqCxpdmeQ6" target="_blank">Cuauhtémoc E, Ignacio Allende 134</a></td>
<td>L - D 5pm - 3am</td>
</tr>
<tr>
<td>Norte</td>
<td><a href="https://goo.gl/maps/QDNXXDA2wpYbPtkx5" target="_blank">Sara 4537, Guadalupe Tepeyac</a></td>
<td>M - D 5pm - 3am</td>
</tr>
</table>
</section>

<hr>

<section>
<h2>Pedidos</h2>
<h3>Haz tu pedido aquí</h3>

<form action="">
<p>¿De qué taquería quieres?</p>
<select>
<option value="Norte">Norte</option>
<option value="Centro">Centro</option>
<option value="Sur">Sur</option>
</select>

<p>¿De qué tacos quieres?</p>
<input type="checkbox" id="Bisteck" name="Bisteck" value="Bisteck">
<label for="Bisteck">Bisteck</label>
<input type="number" id="BisteckNumber" name="BisteckNumber" placeholder="¿Cuántos?">
<br>
<input type="checkbox" id="Chorizo" name="Chorizo" value="Chorizo">
<label for="Chorizo">Chorizo</label>
<input type="number" id="ChorizoNumber" name="ChorizoNumber" placeholder="¿Cuántos?">
<br>
<input type="checkbox" id="Pastor" name="Pastor" value="Pastor">
<label for="Pastor">Pastor</label>
<input type="number" id="PastorNumber" name="PastorNumber" placeholder="¿Cuántos?">
<br>
<input type="checkbox" id="Chuleta" name="Chuleta" value="Chuleta">
<label for="Chuleta">Chuleta</label>
<input type="number" id="ChuletaNumber" name="ChuletaNumber" placeholder="¿Cuántos?">
<br>
<input type="checkbox" id="Campechano" name="Campechano" value="Campechano">
<label for="Campechano">Campechano</label>
<input type="number" id="CampechanoNumber" name="CampechanoNumber" placeholder="¿Cuántos?"><br>

<br><br>

<label for="Nombre">Nombre:</label><br>
<input type="text" id="Nombre" name="Nombre" placeholder="¿Cómo te llamas?">

<br><br>

<label for="Teléfono">Teléfono:</label><br>
<input type="text" id="Teléfono" name="Teléfono" placeholder="¿Tu teléfono?">

<br><br>
<label for="Dirección">Dirección:</label><br>
<input type="text" id="Dirección" name="Dirección" placeholder="¿A dónde lo mandamos?">

<button type="submit">Enviar pedido</button>
<br><br>
</form>
</section>


</body>
</html>
10 changes: 7 additions & 3 deletions 03 - CSS/programas/1.-selectores.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Selectores</title>
<style>
/*Cascade Style Sheet --> CSS*/
*{
font-family: Arial, Helvetica, sans-serif;
}
Expand All @@ -20,19 +21,23 @@
}

#titulo{
color: rgb(200,150,220);
color: #7f1da6;
text-align: right;
}

.izquierda{
color: green;
color: rgb(0, 128, 0);
}

p.izquierda{
text-decoration: underline;
text-align: left;
}

p#titulo{
text-decoration: dotted;
}

.contraste{
background-color: black;
}
Expand All @@ -47,7 +52,6 @@
</style>
</head>
<body>

<h1>Header simple</h1>
<h2 id="titulo" class="izquierda">Header con id Titulo</h2>
<p>Parrafo simple</p>
Expand Down
2 changes: 1 addition & 1 deletion 03 - CSS/programas/2.-colores.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ p{
}

.colorRGBA{
color: rgba(93, 217, 94, 0.6);
color: rgba(93, 217, 93, 0.5);
}

.colorHEX{
Expand Down
2 changes: 2 additions & 0 deletions 03 - CSS/programas/2.-colores.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ <h1>Código de colores CSS</h1>
<p class="colorHEX">Prueba color HEX</p>
<p class="colorHSL">Prueba color HSL</p>

<h1 class="colorRojo">H1 en rojo</h1>

</body>
</html>
3 changes: 1 addition & 2 deletions 03 - CSS/programas/3.-fondos.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ div{

.fondoOpacidad{
background-color: #5d0c0c;
opacity: 0.6;
opacity: 0.4;
}

.fondoImagen{
Expand Down Expand Up @@ -46,7 +46,6 @@ div{

.fondoCompleto{
background-image: url("../images/fondo2.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
1 change: 0 additions & 1 deletion 03 - CSS/programas/4.-textos.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,4 @@
.link{
text-decoration: none;
color: black;

}
22 changes: 22 additions & 0 deletions 03 - CSS/programas/flexbox.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
*{
font-family: Arial, Helvetica, sans-serif;
}

.contenedor{
min-height: 400px;
background-color: #697070;
display: flex;
justify-content: space-around;
align-items: center;
flex-wrap: wrap;
}

.elemento{
height: 200px;
width: 200px;
background-color: #911a3c;
border-color: #fff;
border-width: 5px;
border-style: solid;
padding: 10px;
}
20 changes: 20 additions & 0 deletions 03 - CSS/programas/flexbox.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flexbox</title>
<link rel="stylesheet" href="./flexbox.css">
</head>
<body>
<section class="contenedor">
<div class="elemento">
<p>Hola explorers 1</p>
</div>
<div class="elemento"></div>
<div class="elemento"></div>
</section>

</body>
</html>
48 changes: 48 additions & 0 deletions 03 - CSS/programas/mobile.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
*{
font-family: Arial, Helvetica, sans-serif;
}

.container{
background-color: blue;
height: 400px;
}

.container-div{
background-color: red;
width: 200px;
height: 200px;
}

.parrafo{
font-size: 15;
font-weight: bold;
}

@media (max-width: 600px) {
.container{
background-color: green;
display: flex;
justify-content: center;
align-items: center;
}

.container-div{
height: 250;
background-color: orange;
}

.parrafo{
text-align: center;
}
}

@media (max-width: 900px) and (min-width:600px) {
.container{
background-color: pink;
}

.parrafo{
font-size: 20;
font-weight: 200;
}
}
18 changes: 18 additions & 0 deletions 03 - CSS/programas/mobile.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>pantallas móviles</title>
<link rel="stylesheet" href="./mobile.css">
</head>
<body>
<section class="container">
<div class="container-div">
<p class="parrafo">Hola explorers, ¿cómo están?</p>
</div>
</section>

</body>
</html>