ng the browser&#39;s back and next button.</p>
<hr>
<h3 id="xhr">XHR</h3>
<p>Basically, XHR is just a way to talk to a server.</p>
<p>Let&#39;s change our click counter to make it save data on a server. For the server, we&#39;ll use <a href="http://rem-rest-api.herokuapp.com">REM</a>, a mock REST API designed for toy apps like this tutorial.</p>
<p>First we create a function that calls <code>m.request</code>. The <code>url</code> specifies an endpoint that represents a resource, the <code>method</code> spec