title: How can i filter my json data by the numbers selected in my select tags
body: <p>Let's say that i have this json file :</p>
  
  <pre><code>[
    {
      "restaurantName":"name1",
      "address":"restaurant1 address",
      "lat":lat1,
      "long":long1,
      "ratings":[
         {
            "stars":4,
            "comment":"good"
         },
         {
            "stars":5,
            "comment":"excellent"
         }
       ]
    },
    {
      "restaurantName":"name2",
      "address":"restaurant2 address",
      "lat":lat2,
      "long":long2,
      "ratings":[
         {
            "stars":4,
            "comment":"good"
         },
         {
            "stars":3,
            "comment":"ok"
         }
       ]
    } 
  ]
  </code></pre>
  
  <p>And this html code:</p>
  
  <pre><code>&lt;select id="s1"&gt;
    &lt;option value="0"&gt;0&lt;/option&gt;
    &lt;option value="1"&gt;1&lt;/option&gt;
    &lt;option value="2"&gt;2&lt;/option&gt;
    &lt;option value="3"&gt;3&lt;/option&gt;
    &lt;option value="4"&gt;4&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;select id="s2"&gt;
    &lt;option value="1"&gt;1&lt;/option&gt;
    &lt;option value="2"&gt;2&lt;/option&gt;
    &lt;option value="3"&gt;3&lt;/option&gt;
    &lt;option value="4"&gt;4&lt;/option&gt;
    &lt;option value="5"&gt;5&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;button type="button" id="btn"&gt;filter&lt;/button&gt;
  </code></pre>
  
  <p>The problem is that i can't find a way to filter this data and get the restaurants list that have a star rating between the two numbers selected in the select tags.</p>