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

Movies by Erika and Alex #54

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Movies by Erika and Alex #54

wants to merge 14 commits into from

Conversation

Tejpex
Copy link

@Tejpex Tejpex commented Apr 7, 2024

Netlify link
https://classy-madeleine-9259db.netlify.app/

Collaborators
Add your collaborators here. Write their GitHub usernames in square brackets. If there's more than one, separate them with a comma, like this:
[Xikitita]

Copy link
Contributor

@HIPPIEKICK HIPPIEKICK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your project is nice and clean, and it looks good too. It's just the contrast that I think could benefit from another take.

Comment on lines +38 to +45
.rating {
color: black;
font-weight: bolder;
background-color: rgb(250, 235, 215, 0.2);
max-width: fit-content;
max-height: 22px;
border-radius: 2px;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider increasing the contrast here, it's not so easy to see the text on some backgrounds:

Skärmavbild 2024-04-10 kl  16 34 41

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I think it could be good to double check contrasts of all texts:

Skärmavbild 2024-04-10 kl  16 37 16

Comment on lines +7 to +17
return (
<BrowserRouter>
<main>
<Routes>
<Route path="/" element={<MoviesList />} />
<Route path="/movies/:id" element={<MovieDetail />} />
</Routes>
</main>
</BrowserRouter>
)
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and clean App structure 👍

Comment on lines +1 to +2
import { useState,useEffect } from "react"
import { Link } from "react-router-dom";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remember to be consistent throughout your whole project regarding semicolons

<Link to={`movies/${movie.id}`}>
<img
src={`https://image.tmdb.org/t/p/w342${movie.poster_path}`}
alt={`Poster of ${movie.title}`}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good that you remembered the alt tags!

@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/ico" href="/favicon.ico" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍿 ⭐

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants