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

Lemony Responsive Cinema #21

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

LemonyDesign
Copy link

Run out of time to create a Readme - TODO
Stretch - paging only

<link rel="stylesheet" href="styles/styles.css">
</head>
<body>
<header class="mainheader">
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice use of BEM

return item.Poster !== "N/A"
});

searchArray.map(item => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

forEach would be better here since we don't use the returned value

}


// function displayFullFilm(body) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Commented out code can be removed to avoid clutter

const searchText = form.search.value;
console.log(form.search.value);
// const searchQuery = formRef.search.value;
const APIQuery = `http://www.omdbapi.com/?s=${searchText}&page=${page}&apikey=eabbbb71`;
Copy link
Collaborator

Choose a reason for hiding this comment

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

lower case variable name would be more appropriate

@dmitrigrabov
Copy link
Collaborator

Good work. README would be great next time

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.

2 participants