title: Checkbox value in array javascript
body: <p>I have a list of checkbox, my goal is to create and store the value of checkbox only the one that is checked. Can someone guide me with this?</p>
  
  <pre><code>&lt;input type="checkbox" name="vehicle" value="Bike"/&gt;
  &lt;input type="checkbox" name="vehicle" value="Car"/&gt;
  &lt;input type="checkbox" name="vehicle" value="Airplane"/&gt;
  </code></pre>