Skip to content
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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

2 participants