.container.header code example

Example 1: div container style

<div class="tab-content col-md-12" 
style="	width:600px;
        box-shadow: 3px 3px 3px 3px grey;
        margin:10px;
        background-color: #E0D8D6;
      ">

Example 2: container js

$(document).ready(function() {
  $('#submit').click(function() {
    var list = ['Car', 'Bike', 'Scooter'];
    for (var value of list) {
      $('#container')
        .append(`<input type="checkbox" id="${value}" name="interest" value="${value}">`)
        .append(`<label for="${value}">${value}</label></div>`)
        .append(`<br>`);
    }
  })
});

Tags:

Misc Example