<div class="container p-2">
<form >
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="chk_red" >
<label class="form-check-label" for="chk_red">Red</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="chk_green" >
<label class="form-check-label" for="chk_green">Green</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="chk_blue" >
<label class="form-check-label" for="chk_blue">Blue</label>
</div>
</form>
</div>
This Pen doesn't use any external JavaScript resources.