diff --git a/seungjin/nomad/app.js b/seungjin/nomad/app.js new file mode 100644 index 0000000..55b6ca4 --- /dev/null +++ b/seungjin/nomad/app.js @@ -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); diff --git a/seungjin/nomad/index.html b/seungjin/nomad/index.html new file mode 100644 index 0000000..6b5d1ba --- /dev/null +++ b/seungjin/nomad/index.html @@ -0,0 +1,16 @@ + + +
+ + + +