Skip to content

SinisaJO/Movie-Watchlist-Creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Movie Watchlist APP 👋

Screenshoot

app

    Requirements:

  1. Two pages, index.html and watchlist.html
  2. Index.html === search page. Calls to OMDB API with the title searched for and displays search results
  3. Button to "add to watchlist" which saves that data to local storage
  4. Watchlist.html loads and displays data from local storage

    Key learnings:

    1. Callbacks:
      • Functions as first-class objects
    2. Promises:
      • Three states(pending, fulfilled, rejected)
      • .then(),.catch() and chaining
      • async/await + try/catch syntax