The app will grab all the headlines from the Guardian newspaper API and display them on a page. Clicking on a headline will show a summary of the article.
Vanilla JavaScript, CSS and HTML
As a busy politician
I can see all of today's headlines in one place
So I know what the big stories of the day are
As a busy politician
I can click a link to see the original news article
So that I can get an in depth understanding of a very important story
As a busy politician
I can see a summary of a news article
So I can get a few more details about an important story
As a busy politician
I can see a picture to illustrate each news article when I browse headlines
So that I have something nice to look at
As a busy politician
I can read the site comfortably on my phone
Just in case my laptop breaks
I called mine Peter. Peter is a cute cat that looks at you in a judging way when you run your tests, no matter if they're passing or failing, therefore making you question the validity of everything you've just done. He meows in a scottish accent. One day Peter will actually be useful and test something. But not today. Peter is too busy hunting bugs.
- Guardian newspaper API homepage
- Aylien text summary API docs
- cURL man page
- Hurl, a web interface for sending HTTP requests