<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container"><!-- container başlangıç -->
<h1>Phone mask with jQuery and Masked Input(Amateur)</h1>
<br />
<!-- I used an input type of text here so browsers like Chrome do not display the spin box -->
<input class="form-control" id="phone-number" name="phone-number" type="text" maxlength="14" placeholder="(XXX) XXX-XXXX" /><br /><br />
<br>
<button class="btn btn-primary btn-lg" id="dugme">Tıkla</button>
<br />
<br />
<br />
<label>Result </label>
<div class="alert alert-success" id="sonucAlan">
.
</div>
</div><!-- container bitiş -->