(Node package manager was used to set up this application so you will need to make sure you have it installed to run this app.)
-
Navigate to the root directory of this app.
-
Install needed dependencies by entering one of the following commands below in your terminal:
- Once the dependencies are done installing, start up the app by entering the following command into your terminal:
This will spin up a parcel server listening on localhost:3001.
Now you can visit localhost:3001 in your web browser to view the application.
Click on the input search field and enter anything you'd like to search and click the green search button (or hit enter). Your most recent search results will be stored in your local browser's localstorage. You can clear or empty this data at any time by clicking the "Clear History" button at the top right corner of the page.
Once the page has been populated, scroll left to view more Gifs.
You can favorite a Gif by double clicking on it. This Gif will then be stored in your favorites. You can view your favorites by clicking on the "FAVORITES" button at the top right corner of the screen, next to the heart.
Double clicking on an item in your favorites will un favorite the item.
If you'd like to empty your cart, click on the "EMPTY CART" button at the top right corner of the screen.