diff --git a/index.html b/index.html index e813774..5b94d8a 100644 --- a/index.html +++ b/index.html @@ -15,6 +15,11 @@ background-color: lightgray; margin-bottom: 1rem; } + .bfilm { + width: 100%; + padding-top: 80%; + } + .overlay { position: absolute; top: 10rem; @@ -28,6 +33,7 @@ } + diff --git a/script.js b/script.js index e739f42..b14579a 100644 --- a/script.js +++ b/script.js @@ -10,18 +10,19 @@ async function bestFilm(filmId) { let blockToLook = document.getElementById("bestFilm"); let detail = ` -
-
- film cover +
+ film cover
-
+
+
+
+

${bfilm.title}

${bfilm.description}
-
`; blockToLook.innerHTML += detail; getModalDetail(bfilm, bfilm.id, blockToLook);