summaryrefslogtreecommitdiff
path: root/index.html
blob: 19a3a7e7581288719a1f14a0fa40e3e1d250b55c (plain)
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
<!--
    1. Investigar cómo es la mejor manera de empezar un documento HTML y qué
    significan sus partes:
    https://www.freecodecamp.org/news/html-starter-template-a-basic-html5-boilerplate-for-index-html/

    2. Revisar lista completa de elementos HTML:
    https://developer.mozilla.org/en-US/docs/Web/HTML/Element
    Y sus posibles atributos:
    https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
    Identificar cuáles son interesantes.
-->


<!doctype html>
<html lang="en">
    <head>
        <!-- Definición de la codificación del texto -->
        <meta charset="utf-8">
        <!-- Interesante para responsive/mobile-first -->
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <title>A basic weather app</title>
        <meta name="author" content="Ekaitz Zárraga">
        <meta name="description" content="Una pequeña aplicación meteorológica">

        <!-- Iconos -->
        <link rel="icon" href="/favicon.ico">
        <link rel="icon" href="/favicon.svg" type="image/svg+xml">

        <!-- Hoja de estilos -->
        <link rel="stylesheet" href="css/style.css">
    </head>

    <body>

        <article class="forecast">
            <h1>Weather forecast for Seattle</h1>
            <article class="day-forecast">
                <div class="day-forecast-text">
                    <h2>03 March 2018</h2>
                    <p>Heavy rain.</p>
                </div>
                <div class="day-forecast-image">
                    <img src="img/lluvia.png"/>
                </div>
            </article>
            <article class="day-forecast">
                <div class="day-forecast-text">
                    <h2>04 March 2018</h2>
                    <p>Heavy rain.</p>
                </div>
                <div class="day-forecast-image">
                    <img src="img/lluvia.png"/>
                </div>
            </article>
            <article class="day-forecast">
                <div class="day-forecast-text">
                    <h2>05 March 2018</h2>
                    <p>Heavy rain.</p>
                </div>
                <div class="day-forecast-image">
                    <img src="img/lluvia.png"/>
                </div>
            </article>
        </article>

        <footer>
            Weather data by <a href="https://open-meteo.com/">Open-Meteo.com</a>
        </footer>
    </body>
</html>