I am new in javascript, I want to create div which have multiple div and multiple elements.See code below
<style>
.list-group li {
list-style: none;
}
.panel-info, .panel-rating, .panel-more1 {
float: left;
margin: 0 10px;
height: 60px;
}
.icon {
height: 30px;
width: 30px;
}
.header {
background-color: #f44336;
padding: 15px 20px;
color: white;
text-align: center;
}
</style>
<div id="listContainer">
<div>
<ul class="list-group">
<li>
<div class="panel-body panel panel-default" style="height: 70px;">
<div class="panel-info">
<p><strong>Shailendra Kushwah</strong></p>
</div>
<div class="panel-more1">
<img src="img/feestatus/cancel-button.png" class="icon" />
<br /><span>Installment 1</span>
</div>
<div class="panel-more1">
<img src="img/feestatus/cancel-button.png" class="icon" />
<br /><span>Installment 2</span>
</div>
<div class="panel-more1">
<img src="img/feestatus/cancel-button.png" class="icon" />
<br /><span>Installment 3</span>
</div>
</div>
</li>
</ul>
</div>
</div>
id="listContainer" dynamically on the basis of length of my array using loop.Please help