| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 |
Tags
- 타입스크립트
- 정처기필기
- JS
- Vue3
- JavaScript
- 정처기실기
- 백준2501
- 정보처리기사
- 바닐라js
- react
- 리액트
- 정처기
- Vue
- 코딩테스트
- 백준5086
- 이벤트버블링
- 백준10815
- zustand
- 코딩테스크
- 파이썬
- 코테
- 자바스크립트
- 10815
- TypeScript
- reactrouter
- 백준
- NextJs
- 백준10798
- styled-components
- 투두리스트
Archives
- Today
- Total
목록javascripts (1)
윤시의 블로그
투두 리스트를 만들며 디지털 타이머를 JavaScript 코드로 구현해보았다.타이머는 start, stop, reset 버튼을 통해 제어할 수 있고, 시간은 초 단위로 업데이트 되어 화면에 표시된다. 1. HTML 요소 선택const timerDisplay = document.getElementById("timer-display");const startBtn = document.getElementById("start-btn");const stopBtn = document.getElementById("stop-btn");const resetBtn = document.getElementById("reset-btn"); timerDisplay : 타이머의 시간 표시 요소를 선택한다. 경과 시간을 업데이트할..
JavaScript
2024. 10. 8. 21:21