Learning how to use the various Hooks

List of what has been done

  1. useState
  2. useEffect -> used for mounting/unmounting and when a resource changes.