본문 바로가기

data life

검색하기
data life
프로필사진 주술회전목마

  • 분류 전체보기 (112)
    • 자격증 (2)
      • 정보처리기사 (2)
    • Front-end (51)
      • JavaScript (31)
      • React (16)
      • TypeScript (2)
    • CSS (22)
      • Flexbox (1)
      • Grid (8)
    • 코딩테스트 (1)
    • 회고록 (4)
    • Back-end (4)
    • Data-Analysis (2)
      • pandas (1)
      • 시각화 (1)
    • python3 (3)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
  • box-shadow
  • border-style
  • prompt()
  • foreach()
  • CSS
  • javascript
  • Grid
  • var
  • grid-column-end
  • createElement
  • react-hook-form
  • relative
  • valuable
  • React
  • grid-template-areas
  • javascipt
  • localStorage
  • package.json
  • grid-row-start
  • grid-column-start
  • mongodb
  • collapsing-margins
  • scope
  • confirm()
  • classList
  • gird-row-end
  • python #qqplot #qq-plot #code
  • className
  • css#cascading#display#block#inline
  • variables
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록연산자 (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
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바