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 |
Tags
- gird-row-end
- var
- grid-column-end
- python #qqplot #qq-plot #code
- foreach()
- react-hook-form
- css#cascading#display#block#inline
- package.json
- grid-template-areas
- collapsing-margins
- scope
- mongodb
- CSS
- className
- Grid
- javascript
- grid-row-start
- variables
- React
- localStorage
- confirm()
- relative
- classList
- box-shadow
- valuable
- prompt()
- grid-column-start
- createElement
- border-style
- javascipt
Archives
- Today
- Total
목록조건문 (1)
data life
JS - 조건문
if ... else 문 if (condition){ /// condition === true } else { /// condition === false } * else 는 선택사항 isNaN 함수 - NaN (Not-A-Number) 판별 const age = parseInt(prompt("How old are you?")); if (isNaN(age)) { console.log("Please write a number"); //true } else { //false console.log("All right!"); } else if - 조건문 추가 const age = parseInt(prompt("How old are you?")); if (isNaN(age)) { console.log("Please..
Front-end/JavaScript
2022. 10. 27. 23:34