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

Review latest version ! #2

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
some adujstments
evanhameed99 committed Jul 3, 2020
commit 19973ae30ac0f2fa9c1d083349f353595d14440e
8 changes: 4 additions & 4 deletions Evan-Sara-Jalal/movie-app/src/App.js
Original file line number Diff line number Diff line change
@@ -37,13 +37,13 @@ function App() {
});
};

const fetchPopularMovies = () => {
const fetchPopularMovies= ()=>{
fetch(
`https://api.themoviedb.org/3/movie/popular?api_key=7a757097cf4698b75ed2848485f49571&language=en-US&page=1`
)
.then((resp) => resp.json())
.then((resp) => setMovieList(resp.results));
};
.then(resp => resp.json())
.then(resp => setMovieList(resp.results));
}

function handleGenreChange(evt) {
setGenreId(evt.target.value);
2 changes: 1 addition & 1 deletion Evan-Sara-Jalal/movie-app/src/components/Navigation.js
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ function Navigation(props) {
{props.name}
</Navbar.Brand>
<Nav className="mr-auto">
<Nav.Link href="#home">Home</Nav.Link>
<Nav.Link href="#home">Home</Nav.Link>
<Nav.Link href="#features">Movies</Nav.Link>
<Nav.Link href="#pricing">Series</Nav.Link>
</Nav>