Skip to content

kytsang/JScript-310B-Final-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

JScript-310B-Final-Project

This is my final project

  • Auto-display the top 5 books from New York Times in this year, this date from year 2008- 2022.
  • Please open Final.html in browser to play :)

Happy Path:

  • Input month with value e.g. 12
  • Input day with value e.g. 20
  • Click "Get Books"
  • On the right will display top 5 books in the mm/dd and auto-display from year 2008 - 2022, update every 5 seconds.
  • Refresh page or check Console for local storage of Month & Date input. Notice title retain previous mm/dd input.

Error scenario1:

  • Input month with value e.g. 13 or e.g. 2
  • Click "Get Books"
  • A error message will be displayed

Error scenario2:

  • Input date with value e.g. 40 or e.g. 2
  • Click "Get Books"
  • A error message will be displayed

Topics uesd (4):

  • Timing function
  • Fetch requests to 3rd party API
  • Sets, updates local storage
  • Contains form fields, validates those fields

About

This is my final project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages