Edit in JSFiddle

$('#name').on('input', function() {
  $('#name-label').text($(this).val());
});
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<input type="text" id="name" /><br/>
name: <label id="name-label"></label>