) "htmlString" accept string like this:
  var newItem = "&lt;div&gt;new Item&lt;/div&gt;"
  
  Second parameter "targetPosition" is optional and accept number values. 
  To add item at the end of carousel you could use -1 value. Last item is default value.
  */
  
  $('.add').on("click", function(e){
    e.preventDefault();
    i += 1;
    var content = "&lt;div class=\"item dodgerBlue\"&gt;&lt;h1&gt;"+i+"&lt;/h1&gt;&lt;/div&gt;";
    owl.data('owlCarousel').addItem(content);
  });

  /*
  Next new owl meth