Created with love by:
View online at: https://albertanguyen.github.io/GoogleNews.github.io/
Using API (Application Programming Interface) to fetch news from various sources.
The following required functionalities are completed (this is a sample):
- The user can see a list of the 20 latest top news stories, loaded dynamically from newsapi.
- For each story, the user sees a headline, the source, a link to more, and an image.
- The user can see the total number of stories currently shown.
The following optional features are implemented:
- The user can click a link at the bottom of the page to load the next 20 stories. The page should not refresh; the stories should simply be added to the bottom.
- The user can see an updated number of stories currently shown.
- The user can see how long ago the story was published in a human-friendly format; e.g. "15 minutes ago". To accomplish this, we recommend you use momentjs. Please load it into your page using cdnjs or jsdelivr (these are called CDNs).
The following additional features are implemented:
- [] List anything else that you can get done to improve the page!
Time spent: 10 hours spent in total.
Describe any challenges encountered while building the app.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.