Skip to content

Conversation

@hamzah-kurdi
Copy link

… search drop down is incomplete

return response.json();
})
.then(function(json) {
display(json);
Copy link
Contributor

Choose a reason for hiding this comment

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

Good re-use of display function

let newsResults = myJson.articles
.map(function(news) {
return `
<div class="results__body">
Copy link
Contributor

Choose a reason for hiding this comment

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

indentation here would make HTML code easier to read

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