Skip to content

Commit

Permalink
#3.5 ~ #4.0 commit
Browse files Browse the repository at this point in the history
  • Loading branch information
SeungJin051 committed Aug 4, 2024
1 parent 417c75c commit 8d931bb
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
9 changes: 9 additions & 0 deletions seungjin/nomad/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const loginInput = document.querySelector("#login-form input");
const loginButton = document.querySelector("#login-form button");

function onBtnClick() {
console.log(loginInput.value);
console.log("Click");
}

loginButton.addEventListener("click", onBtnClick);
16 changes: 16 additions & 0 deletions seungjin/nomad/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="stlye.css" />
<title>Momnentum App</title>
</head>
<body>
<div id="login-form">
<input type="text" placeholder="What is your name?" />
<button type="submit">Login</button>
</div>
</body>
<script src="app.js"></script>
</html>
Empty file added seungjin/nomad/stlye.css
Empty file.

0 comments on commit 8d931bb

Please sign in to comment.