Skip to content

Comments

responsive news website, fully functional with drop down options - Hamzah Kurdi#12

Open
hamzah-kurdi wants to merge 1 commit intoconstructorlabs:masterfrom
hamzah-kurdi:master
Open

responsive news website, fully functional with drop down options - Hamzah Kurdi#12
hamzah-kurdi wants to merge 1 commit intoconstructorlabs:masterfrom
hamzah-kurdi:master

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