Handling User Input
Let's see how to track the clicks in RxJS using the built-in "fromEvent" operator in Rx.
We'll cover the following...
Managing clicks
The next step is to manage clicks on the start and stop buttons. First, grab the elements off the page with querySelector
:
let startButton = document.querySelector('#start-button');
let stopButton =
...