-
Notifications
You must be signed in to change notification settings - Fork 38
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
base: master
Are you sure you want to change the base?
Conversation
<link rel="stylesheet" href="styles/styles.css"> | ||
</head> | ||
<body> | ||
<header class="mainheader"> |
There was a problem hiding this comment.
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 => { |
There was a problem hiding this comment.
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) { |
There was a problem hiding this comment.
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`; |
There was a problem hiding this comment.
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
Good work. README would be great next time |
Run out of time to create a Readme - TODO
Stretch - paging only