Is there a way to display data neatly formatted with space between each entry?
I'm not sure why id one is not being selected
I prefer using the append method so I can dynamically add content later on
How can I organize data into two columns, with three entries in each column?
Current output
$('#1').append("DARK KNIGHT");
$('#2').append("ACTION");
$('#3').append("NOLEN");
$('#4').append("WB");
$('#5').append("HANSZIMMER");
$('#6').append("WB");
<title>Bootstrap Example</title>
<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">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<input type="text" id="1" name="id" placeholder="Enter id you want to search">
<button type="submit" value="Submit" onclick="goodfunction()">Submit</button>
<div class="container">
<h2>Basic Panel</h2>
<div class="panel panel-default">
<div class="panel-body" id="1">movie</div>
<div class="panel-body" id="2">type</div>
<div class="panel-body" id="3">director</div>
<div class="panel-body" id="4">distributor</div>
<div class="panel-body" id="5">music director</div>
<div class="panel-body" id="6">producer</div>
</div>
</div>