-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (66 loc) · 3.46 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
<!DOCTYPE html>
<html lang="es">
<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">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css">
<title>Buscador de peliculas</title>
</head>
<body>
<main class="container pb-4">
<h1>¡Movie time!</h1>
<section id="buscador">
<div class="row row-cols-1 row-cols-lg-2 align-items-center">
<div class="col">
<img src="img/movietime.jpg" alt="Movie time" class="img-fluid">
</div>
<div class="col formularioBuscador">
<h2>Buscador de películas</h2>
<p>Puedes buscar por nombre y año la película que desees <span class="d-block">y te mostraremos
información de la misma</span></p>
<p class="fs-6"><span class="text-danger fs-4 fw-bold">*</span> obligatorio</p>
<form id="formulario">
<div class="mb-3">
<label for="nombre" class="form-label">Nombre de la película <span
class="text-danger fs-4 fw-bold">*</span></label>
<input type="text" class="form-control" id="nombre"
placeholder="Rocky, Rocky II, Titanic, etc">
<p class="form-text">La aplicación funciona con el nombre de las películas en <span
class="fw-bold">su idioma original</span></p>
</div>
<div class="mb-3">
<label for="year" class="form-label">Año de estreno</label>
<input type="number" class="form-control" id="year">
</div>
<div class="d-grid gap-2 d-lg-block">
<button type="submit" class="btnBuscar">Buscar</button>
</div>
</form>
</div>
</div>
</section>
<section class="row row-cols-1 row-cols-lg-2 mt-3 mt-lg-0" id="resultado">
<template id="template">
<div class="col" class="poster">
<img src="" alt="Poster película" id="imgPoster" class="float-lg-end mx-auto d-block d-lg-inline-block">
</div>
<div class="col">
<h2 class="titulo text-center text-lg-start mt-3 mt-lg-0"></h2>
<p class="fw-bold">Actores: <span class="actores fw-light"></span></p>
<p class="fw-bold">Director: <span class="director fw-light"></span></p>
<p class="fw-bold">Género: <span class="genero fw-light"></span></p>
<p class="fw-bold">Año de estreno: <span class="year fw-light"></span></p>
<p class="fw-bold">Duración: <span class="duracion fw-light"></span></p>
<p class="fw-bold">Puntuación IMDb: <span class="rating fw-light"></span></p>
</div>
</template>
</section>
</main>
<footer class="container">
<p class="text-center fs-6">Hecho por <a href="https://ayrds.netlify.app" rel="noopener noreferrer" target="_blank">AyrDS</a></p>
</footer>
<script src="js/app.js"></script>
</body>
</html>