Skip to content

filipjohnsson1989/like-button

 
 

Repository files navigation

The "Like" Button

The goal of this exercise is to create an Instagram-style "like" button which is a stand-alone component that once clicked, will become active in color, increment the number of likes, and display the current like total.

I'm displaying movies from JSON data, each with a "Like" button which receives data for movie title, description, and numbe of likes.

Installation

  • Clone the repo
  • Navigate to the folder and run npm install
  • Start the server by running ng serve -o (the -o flag opens a new browser window)
  • Click some of the "like" hearts to see it work

ToDo

Pull random movies from OMDB Movie API to populate each movie, then show likes based on whateve critic ratings are in the data

About

Angular 8 Example of a "Like" Button

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 66.2%
  • HTML 16.1%
  • JavaScript 11.0%
  • CSS 6.7%