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

Feedback #1

Open
wants to merge 46 commits into
base: feedback
Choose a base branch
from
Open

Feedback #1

wants to merge 46 commits into from

Conversation

dhminh1024
Copy link
Contributor

@dhminh1024 dhminh1024 commented Dec 30, 2020

👋! GitHub Classroom created this pull request as a place for your teacher to leave feedback on your work. It will update automatically. Don’t close or merge this pull request, unless you’re instructed to do so by your teacher.

In this pull request, your teacher can leave comments and feedback on your code. Click the Subscribe button to be notified if that happens.

Click the Files changed or Commits tab to see all of the changes pushed to main since the assignment started. Your teacher can see this too.

Notes for teachers

Use this PR to leave feedback. Here are some tips:

  • Click the Files changed tab to see all of the changes pushed to main since the assignment started. To leave comments on specific lines of code, put your cursor over a line of code and click the blue + (plus sign). To learn more about comments, read “Commenting on a pull request”.
  • Click the Commits tab to see the commits pushed to main. Click a commit to see specific changes.
  • If you turned on autograding, then click the Checks tab to see the results.
  • This page is an overview. It shows commits, line comments, and general comments. You can leave a general comment below.

For more information about this pull request, read “Leaving assignment feedback in GitHub”.

Subscribed: @nngocjade @lethang7794 @everythinginmoderation2

dhminh1024 and others added 30 commits December 30, 2020 11:28
- News article will be append instead of replacing the whole html element's content.
- Remove the space between card border and card image.
In both fetch() and result.json()
- Use article tag.
- Prevent reference to null (article without an image),
otherwise the browser will try to look for the image at localhost/null
and the console will show an error GET http://localhost:5500/null 404 (Not Found)
- Only increase page variable after a success response.
nngocjade and others added 16 commits January 3, 2021 20:37
Add articles info and error banner
- Remove the form.
- Use bootstrap style.
- Uncenter the page name.
- User can press Enter to search.
- The search button only clickable when there is a search term.
- Focus to the text input so user can type immediately after visit the page.
Reformat header and improve the search bar
On mobile device:
- The search bar won't be too small.
- The articles info won't overlay the load more button.
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.

3 participants