본문 바로가기

ㅤ

검색하기
ㅤ
프로필사진 20230919

  • 분류 전체보기 (27)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/12   »
일 월 화 수 목 금 토
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 31
Tags
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록전체 글 (27)

ㅤ

22번 타이머 메소드

DOCTYPE html> 타이머 메소드 멈춰! /* setTimeout(function(){ alert("타임 아웃!") }, 3000) */ const p = document.getElementById("now") const button = document.getElementById("stop") let timerId = setInterval(function(){ const now = new Date() // 코드 실행 시점의 시간 정보를 속성으로 가진다 let year, month, day, hour, min, sec; year = now.getFullYear() month = now.getMonth() + 1 day = now.getDate() hour = now.getHours() min = no..

카테고리 없음 2023. 10. 18. 17:40
이전 Prev 1 ··· 3 4 5 6 7 8 9 ··· 27 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바