JSFiddle - React, Tailwind, and code Playground
HTML
<div id="parent">
<p>
this is parent
</p>
</div>
JavaScript
var childs = ["first/1","second/2","third.3"];
$.each(childs, function(index,child) {
child = child.replace(/[ . \/]/g,'');
$("#parent").append("<div id='"+child+"'>"+child+"</div>");
})