GithubHelp home page GithubHelp logo

mrjcowman / newyorktimessearch Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 2 KB

Home Page: http://mrjcowman.github.io/NewYorkTimesSearch

HTML 100.00%
html-css-javascript news newsapi nytimes nytimes-api

newyorktimessearch's People

Contributors

ismahanj avatar mrjcowman avatar

Watchers

 avatar  avatar

Forkers

dadwanteat

newyorktimessearch's Issues

Verify Mobile Responsiveness

As a User
I want to use this page on multiple devices
so that I can have this available on any device

Acceptance Criteria

  • Site responds to different screen sizes
  • Check 400px wide
  • Check 576px wide
  • Check 768px wide
  • Check 992px wide
  • Check 1200px wide

Create header

As a user
I want to see a header
So that I know what page I am on

Acceptance Criteria

  • uses header tag
  • includes the title (New Your Times Search)
  • has a blue background
  • text is centered

Create API call to New York Times

As a Developer
I want to see the grab data from the API
So that I can pass it to a function to render on the page

Acceptance Criteria

  • send Get a request to search api
  • responds with the articles data
  • returns the article's data

Create Articles Section

As a user
I want to see a list of articles
so that I can read from new your times

Acceptance Criteria

  • Empty Section
  • id of articles-list

Create Footer

As a user
I want to know when the page ends
so that I can stop scrolling

Acceptance

  • create a footer element
  • text says Made with lots and lots of {heart Icon}
  • text is centered

Create event listener clear results

As a user
I want to clear results
so that I can search for different articles

Acceptance Criteria

  • create click event listener on the clear results button
  • clears the articles from bottom of the page

Basic Files

As Developer
I want to have files
So that I can develop the site.

Acceptance Criteria

  • index.html
  • style.css
  • script.js
  • style.css linked in index.html
  • script.js linked in index.html

Link BootStrap

As a developer
I want to use bootstrap framework
So that I can quickly build a site

Acceptance Criteria

  • bootstrap css linked
  • bootstrap js linked

Read API Documentation

As a developer
I want to be familiar with the API
So that I know how to implement it in my code

Acceptance Criteria

  • Can construct a query URL
  • Can navigate the returned JSON for information

Create renderArticles function

As a user
I want to see the articles I searched for
So that I can read the news I like from the new york times

Acceptance criteria

  • create function named renderArticles
  • create a loop that that creates articles
  • append those articles to section id articles-list
  • articles should append to the page

Create Pagination

As a user
I want pages of articles if I ask for more than 10
So I can easily navigate large numbers of articles

Acceptance Criteria

  • Pagination should be at top or bottom of article list when more than 10 articles exist
  • Pagination should indicate next, previous, current page, first page, and last page at a minimum
  • Pagination should dynamically update in response to article list size

Create event listener submit form

As a user
I want to input search criteria
So that I can see the articles I'm looking for

Acceptance Criteria

  • create submit event listener on the search button
  • grabs the input from a form with id search-form that includes Search terms, Number of Records to Retrieve, Start Year, End Year
  • calls the API Get function
  • calls the render articles function

Create Search Box

As a user
I want to see a basic page
So that I can interact with the site

Acceptance Criteria

  • bootstrap card
  • Title Search parameters
  • Create form with id search-form
  • Input area titled Search Term Mark Required
  • Input area titled Number of Records to RetrieveMark Required
  • input area titled Start Year sub text "(Optional)
  • input area titled End Year sub text "(Optional)
  • search button with icon
  • Each input has unique ids
  • clear results button with icon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.