1<input id="input" type="url"></input>
2<button id="link button"><a id="link" style="text-decoration: none; color: inherit;" href="" TARGET="_BLANK">enter</a></button>
3<script src="script.js">
4 var linkButton = document.getElementById("link button")
5 linkButton.onclick = function(){
6 var input = document.getElementById("input").value
7 document.getElementById("link").setAttribute("href", "http://"+input)
8 }
9</script>