title: Removing Item from array by it's index value
body: <p>I would like to be able to remove any isolated item (cherry pick)in the following array and remove it so it won't display in the dom. I would like to do this by it's index number.</p>
  
  <p>For example I can log it by </p>
  
  <blockquote>
    <p>console.log(div.questions[2]);</p>
  </blockquote>
  
  <p>what can I use to remove div.questions[2] from the dom without a refresh?</p>
  
  <p>Also can this be done by adding an event to a button so it would change which ones were displayed without having to refresh the screen? </p>
  
  <p>Ultimately what I'm trying to do do is have some questions go down a path and then it would skip to the rest of the regular questions. </p>
  
  <p>HTML</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  
  &lt;title&gt;AlsSate Quiz Prototype&lt;/title&gt;
  &lt;link href ="style.css" rel ="stylesheet"&gt;
  &lt;link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"&gt;
  &lt;script src="jquery-3.2.1.min.js"&gt;&lt;/script&gt;
  &lt;script src = "main.js"&gt;&lt;/script&gt;
  
  &lt;/head&gt;
  
  
  &lt;body&gt;
  
  &lt;div class="container"&gt;
  &lt;/div&gt;
  
  
  
  &lt;/html&gt;
  </code></pre>
  
  <p></p>
  
  <p>Code (from main.js)</p>
  
  <pre><code>$( document ).ready(function() {
  
  
  
     var div = {
          questions: [
            {
              title: "what vehicle",
              description: "1 Lorem ipsum dolor sit amet, consectetur adipiscing",
              btn1:"car",
              btn2:"motorcycle"
            },
            {
              title: "what brand",
              description: "2 Lorem ipsum dolor sit amet, consectetur adipiscing",
                 btn1:"honda",
              btn2:"harley"
            },
            {
              title: "what car",
              description: "3 Lorem ipsum dolor sit amet, consectetur adipiscing",
                 btn1: "chevy",
              btn2: "ford"
            },
            {
              title: "how many miles do you drive a week",
              description: "4 Lorem ipsum dolor sit amet, consectetur adipiscing",
                 btn1: "500",
              btn2: "100"
            }        
          ]
        };
     //div.questions=div.questions.slice(0,3); 
  //div.questions=div.questions.splice(1,3); 
  
  
  
  
  
      $.each(div.questions,function(i,x){
       $('.container').append('&lt;div class="wrapper"&gt;&lt;h3&gt;'+x.title+'&lt;p&gt;'+x.description+'&lt;/p&gt;&lt;/h3&gt; '+x.btn1+' '+x.btn2+'&lt;/div&gt;')
      })
  
  console.log(div.questions[0]);
  
  //var hide =div.questions[1]
  //hide.hide();
  
  
  
  });//end ready
  </code></pre>