vanilla JS #2
00:00 body { background-color: #ecf0f1; } h1 { color: #34495e; } .clicked { color: #7f8c8d; } .form, .greetings { display: none; } .showing { display: block; } const form = document.querySelector(".js-form"), input = form.querySelector("input"), greeting = document.querySelector(".js-greetings"); const USER_LS = "currentUser", SHOWING_CN = "showing"; function saveName(text) { localStorage.setIte..
CODING/Javascript
2020. 6. 9. 00:14