Skip to content

Conversation

@TonyGriffin
Copy link

search function appears to work but unable to get it to update the page.
Too many stories displaying.
No pagination


form.addEventListener("submit", function(event) {
event.preventDefault();
console.log(event.target["0"].value);
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be better to get the input using querySelector. It will make code more robust since it could break with indexes if HTML gets re-arranged


searchForm();

// let input = "";
Copy link
Contributor

Choose a reason for hiding this comment

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

Unused code can be deleted. Otherwise it just ends up clogging up the page

// }

function displayErrorToUser(){

Copy link
Contributor

Choose a reason for hiding this comment

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

It would be great to see this implemented so user can be notified of any issues

@dmitrigrabov
Copy link
Contributor

Would be great to see a README that explains what the project does

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