<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<input type="text" id="txt1"> <input type="text" id="txt2">
<button onclick="add()">Add</button>
<table class="table table-bordered">
<thead>
<tr>
<th><input type="checkbox" class="fstck" onclick="some(this)"></th>
<th>Lastname</th>
<th>Email</th>
</tr>
</thead>
<tbody id="displ">
</tbody>
</table>
</div>
<script>
function add(){
var fst=document.getElementById('txt1').value
var sec=document.getElementById('txt2').value
document.getElementById('displ').innerHTML+="<tr><td><input type='checkbox' class='doit' onclick='clk(this)'></td><td>"+fst+"</td><td>"+sec+"</td></tr>"
}