anchor.diff:  };
   ```
   
  -### events
  +### Events
   
   The Algolia Places autocomplete exposes some events that you can register to:
   
  
positive.code: Put an `<input />` in your html page:
  
  ```html
  <input type="text" id="demo" placeholder="Where are we going?" />
  ```
  
  Initialize the places.js library:
  
negative.code: ```js
  var places = require('places.js');
  var placesAutocomplete = places({
    container: document.querySelector('#address-input')
  });
  ```
  
  