From 344b1d5103d3b4ede396944a189b963dac7770db Mon Sep 17 00:00:00 2001 From: martin machiebe Date: Thu, 4 Apr 2024 16:38:16 -1100 Subject: [PATCH] added a link to the movie image so you can click it and take you to the reviews page --- index.js | 13 ++++++++++--- reviews.html | 2 +- style.css | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 329c5ac..4016436 100644 --- a/index.js +++ b/index.js @@ -55,11 +55,15 @@ const getMainMovie = function (url) { .map((known) => { return `
- + ${known.title} +

Title: ${ known.title && known.title.split(" ").length > 20 @@ -192,11 +196,14 @@ const getMovieBy = function (url) {

- + poster of a movie + }" alt="poster of a movie" />

Title: ${ movie.title && movie.title.split(" ").length > 20 diff --git a/reviews.html b/reviews.html index 52f85e6..ffa1144 100644 --- a/reviews.html +++ b/reviews.html @@ -8,7 +8,7 @@ - +