title: PHPStorm error, jQuery not outputting table
body: <p>I want to write a table to the screen, but I am not sure why this jQuery prototype isn't working. Console gives me no errors, screen is staying blank.</p>
  
  <p>PHPStorm says .append() wants 2 parameters, which I think isn't correct.</p>
  
  <pre><code>Club.prototype.parseData = function(data){
      var table = $('.data');
      $.each(data, function(item, i){
          var row = $('&lt;tr&gt;&lt;/tr&gt;')
          $.each(item, function(i){
             var cell0 = "&lt;td&gt;&lt;/td&gt;".text(i.id);
             var cell1 = "&lt;td&gt;&lt;/td&gt;".text(i.homeClub);
             var cell2 = "&lt;td&gt;&lt;/td&gt;".text(i.awayClub);
             var cell3 = "&lt;td&gt;&lt;/td&gt;".text(i.ourGoals);
             var cell4 = "&lt;td&gt;&lt;/td&gt;".text(i.antiGoals);
             row.append(cell0, cell1, cell2, cell3, cell4);
          });
          table.append(row);
  
      })
  };
  </code></pre>