Skip to content

Comments

Lemony Responsive Cinema#21

Open
LemonyDesign wants to merge 6 commits intoconstructorlabs:masterfrom
LemonyDesign:master
Open

Lemony Responsive Cinema#21
LemonyDesign wants to merge 6 commits intoconstructorlabs:masterfrom
LemonyDesign:master

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