Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- typescript react
- Git
- CSS
- rewrites
- nextjs
- dart 변수
- API token
- react env
- 컨디셔널 렌더링
- styled components
- SCSS
- npm styled-reset
- git lab
- fetch
- nextjs .env
- icon
- getModifierState
- There isn’t anything to compare
- ngrok설치
- nextjs 설치
- github
- react
- github io
- react typescript
- API 토큰
- input type=file
- createGlobalStyle
- bootstrap
- ngrok실행
- next.js css
Archives
- Today
- Total
목록js (1)
꾸준히 성장하는 개발자

Date( ) Date object는 내가 이걸 호출하는 당시의 현재 날짜랑 시간을 알려준다. setInterval( ) setInterval ( 실행하고자하는 함수 , 호출되는 함수의 시간의 간격(ms) ) ex) setInterval(sayHello, 5000); //5초마다 const clock = document.querySelector("h2#clock"); function getClock() { const date = new Date(); clock.innerText = `${date.getHours()}:${date.getMinutes()}:${date.getSeconds()}`; } // setInterval(실행하고자하는 함수, 호출되는 함수의 시간의 간격(ms) ) // setInter..
JavaScript
2022. 2. 28. 03:50