Saving the User Name
2. 유저명 저장하기 : 입력된 유저명을 저장하여 화면에 출력
<!DOCTYPE html>
<html>
<head>
<title>Something</title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<div class="js-clock">
<div class="js-title">
<h1>00:00</h1>
</div>
</div>
<form class="js-form form">
<input type="text" placeholder="What is your name?" />
</form>
<h4 class="js-greetings greetings"></h4>
<script src="clock.js"></script>
<script src="greeting.js"></script>
</body>
</html>
function(event){}
paintGreeting은 text를 필요로 함
submit : 제출
Last updated
Was this helpful?