Code Review Stack Exchange is a question and answer site for peer programmer code reviews. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

*{
	font-family: "Ubuntu";
}

body{
	margin-left: 20%;
	margin-right: 20%;
}

#outer{
	width: 100%;
	border: 1px solid black;
}

#inner{
	margin-left: 10%;
	margin-right: 10%;
}

input{
	text-align: center;
}

.enter{
	height: 30px;
	margin-top: 10px;
	margin-bottom: 10px;
	float: left;
	width: 78%;
}

.btn{
	margin-top: 10px;
	height: 36px;
	margin-bottom: 10px;
	width: 20%;
	float: right;
}

.exit{
	height: 100px;
	margin-bottom: 10px;
	font-size: 40px;
	clear: both;
	width: 99.4%;
}
<!DOCTYPE html>
<html lang="en-US">
	<head>
		<title></title>
		<meta charset="UTF-8">
		<link rel="stylesheet" type="text/css" href="072jsbox.css">
		<script type="text/javascript">
			function takeandhi(){
				var input = document.getElementById("tinput");
				var output = document.getElementById("toutput");
				var inputValue = input.value;
				output.value = "Hey, " + inputValue + "!";
			}
		</script>
	</head>
	<body>
		<div id="outer">
			<div id="inner">
				<form action="">
					<input class="enter" type="text" id="tinput" placeholder="Enter your name:">
					<input class="btn" type="button" onclick="takeandhi()" id="sender" value="Submit Name">
					<input class="exit" type="text" id="toutput" disabled>
				</form>
			</div>
		</div>
	</body>
</html>

share|improve this question

put on hold as unclear what you're asking by forsvarir, Vogel612, Jamal 2 days ago

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Welcome to Code Review . You should start by telling us what you type of review you are looking for e.g shortened code, better way of doing the above etc. Please visit the Tour and How to Ask to understand how a question is formed. – Tolani Jaiye-Tikolo 2 days ago

Browse other questions tagged or ask your own question.