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

ejercicio error ortografico #79

Open
wants to merge 2 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
2 changes: 2 additions & 0 deletions README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ El boilerplate más básico para cualquier estudiante de 4Geeks Academy, empieza

> Tienes un video tutorial sobre [cómo usar esta plantilla para crear tu primer sitio web aquí](https://youtu.be/dfbDCMu_p-0).

MIRA EL TUTORIAL!

## ¿Qué hacer a continuación?

Crea un archivo `index.html` con [la estructura básica de HTML](https://4geeks.com/es/lesson/what-is-html-learn-html-es#estructura-de-pgina) y ve el resultado en vivo corriendo un servidor web utilizando el siguiente comando:
Expand Down
Binary file added dusseldorf.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added galdana-menorca.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gava.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 81 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="styles.css">
<title>INSTAGRAM</title>
</head>
<body>
<header>
<h1>VIAJES</h1>
</header>
<div class="container">
<div class="post">
<div class="encabezado">
<div class="titulo">
<h2>Cala Galdana</h2>
</div>
<div class="fecha">
<p>17/09/2018</p>
</div>
</div>
<div>
<img src="galdana-menorca.jpg" >
</div>
<div>
<p>Cala Galdana está situada en Menorca. <strong>#cala #cristalina</strong></p>
</div>
</div>
<div class="post">
<div class="encabezado">
<div class="titulo">
<h2>Cala Millor</h2>
</div>
<div class="fecha">
<p>05/08/2020</p>
</div>
</div>
<div>
<img src="millor-mallorca.jpg" >
</div>
<div>
<p>Cala Millor está situada en Mallorca. <strong>#cala #azul</strong></p>
</div>
</div>
<div class="post">
<div class="encabezado">
<div class="titulo">
<h2>Gavá</h2>
</div>
<div class="fecha">
<p>20/07/2017</p>
</div>
</div>
<div>
<img src="gava.jpg" >
</div>
<div>
<p>Playa de Gavá. <strong>#BCN #playa</strong></p>
</div>
</div>
<div class="post">
<div class="encabezado">
<div class="titulo">
<h2>Düsseldorf</h2>
</div>
<div class="fecha">
<p>02/01/2024</p>
</div>
</div>
<div>
<img src="dusseldorf.jpeg" >
</div>
<div>
<p>Torre Rin al lado del rio Rin en Dusseldorf, Alemania. <strong>#Rhein</strong></p>
</div>

</div>
</div>
</body>
</html>
Binary file added millor-mallorca.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
body{
background-color: rgb(208, 208, 208);
margin: 0;
}
header{
background-color: white;
}
header h1{
margin: 0;
font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
text-align: center;
}
.post{

background-color: white;
margin-top: 20px;
margin-bottom: 20px;
margin-left: 20px;
margin-right: 20px;
padding: 0.25rem 0; /*para que el texto no esté pegado al borde superior e inferior*/
}
.encabezado{
display: flex;
margin: 0%;
width: 100%;
}
.titulo{
width: 80%;
}
.fecha{
text-align: right;
width: 20%;
padding-right: 1rem;
color: grey;
}

.post img{
width: 100%;
}
.post p{
font-family: Arial, Helvetica, sans-serif;
}
.post h2{
font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
p, h2{
margin-left: 1rem; /*para que el texto no esté pegado al borde izquierdo*/
}
.container{
margin:auto;
width: 50%;
}