Skip to content

dxyz773/smash-or-trash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

    Learning goals

-Manipulate the DOM to reflect user behavior

-Use event listeners to promote user engagement (like/dislike button and submission form)

    Introduction

-Welcome to SMASH or TRASH where you get a first hand look at the top 5 movies…ever, and get to share whether you think they are SMASH, or need to be TRASHed. If they’re trash, upload your favorite movie and let the public know what you think should be a top 5 movie…ever.

    What we will be demonstrating:

-Click the movie poster to display movie details //GET

-Double click the like to add a like that persists //PATCH

-Double click the dislike to add a dislike that persists //PATCH

-Submits a favorite movie to the page using a form that persists //POST

-Stretch goal: Adds a comment to a movie //PATCH

Wire Frame smash-or-trash

Instructions

Open two terminals and input commands below:

#frontend
$ json-server --watch db.json
#frontend
$ open index.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •