전체 글

To Infinity And Beyond

    아파치, php 설치하기

    https://blog.naver.com/pink_candy02/222269330550 아파치, php설치하기 윈도우10 Window10 환경에서 Apache, PHP 설치하기 2020. 3. 13. 15:32 다른 블로그 보고 따라하다가 ... blog.naver.com

    <step45>'js_구조분해할당, 프로토타입'

    1) decomposition.html 2) ex01.html 3) prototype.html

    js - 프로토타입

    [[prototype]] 자바스크립트 객체는 [[prototype]]이라는 숨김 프로퍼티를 갖습니다. 이 숨김 프로퍼티가 다른 객체에 대한 참조가 되는데 다른 객체를 참조하는 경우 참조 타입을 프로토타입이라고 부릅니다.

    js - 구조 분해 할당

    구조 분해 할당 배열과 객체의 값을 분해해서 변수에 할당해줌 배열의 값을 복사한 후 변수에 할당해줌으로 배열이 수정 또는 파괴되지 않습니다. let fruits = ["사과","수박","오렌지","딸기"]; let fruit1 = fruits[0]; let fruit2 = fruits[1]; let fruit3 = fruits[2]; let fruit4 = fruits[3]; 1) 기본 구문 let [변수명, 변수명, ...] = 배열변수 ex) let [fruit1, fruit2, fruit3, fruit4] = fruits; 2) 쉼표를 사용하여 요소 무시하기 let fruits = ["사과","수박","오렌지","딸기"]; let [fruit1, , fruit2] = fruits; 3) 변수의 값을..

    <step45>'js_slide최종마무리'

    1) slideLeft_3_teach.html 이전 다음

    <step44>'js_클래스'

    1) 11.class.html 2) 12.classstudents.html

    js - 클래스

    클래스 - es6 - 오브젝트 user1 = { name: 'green', age: '32', isjob: true, } user2 = { name: 'green', age: '32', isjob: true, } user3 = { name: 'green', age: '32', isjob: true, } ...... - 생성자함수 function User(name, age, isjob){ this.name = name; this.age = age; this.isjob = isjob; } let user1 = new User('green',32,true); let user2 = new User('green',32,true); let user3 = new User('green',32,true); - 클래스 c..

    html 커스텀 속성

    data- 로 시작하는 속성을 정의 -> 자바스크립트에서는 dataset이라는 객체로 만듬 ex) -> dataset={ color: 'red', size: 'big', } -> div.dataset.color -> div.dataset.size ex) 50일 100일 오늘은 button.dataset { key: date, value: 50, }

    js - Date 객체

    날짜를 저장할 수 있고, 날짜와 관련된 메소드를 제공해주는 내장객체 1) 객체 생성하기 new Date()를 호출하면 새로운 Date객체가 만들어집니다. new Date() 현재날짜와 시간을 가진 객체 new Date(년도, 월, 일, 시, 분, 초, 밀리초) -> 년도와 월은 필수 입력값, 월은 0~11 입력(0이 1월입니다.) new Date(밀리초) 기준 1970년 1월 1일 0시 0분 0초 데이터 객체를 생성할 때 파라미터를 1개만 지정하면 이 값은 밀리초로 해석됩니다. 1000 1970년 1월 1일 0시 0분 1초인 것을 볼 수 있습니다. 2) 날짜 구성요소 받기 getFullYear() 년도(네 자릿수)를 반환합니다. getMonth() 월을 반환합니다.(0~11) getDate() 날짜를 반..

    <step43>'js_정규표현식, symbol, set, Date'

    1) match.html 2) ex.html 3) ex02.html 4) 10.Symbolproperty.html 5) set.html 6) set_ex.html 7) date.html : : 8) clock.html : : 9) setDate.html 10) eventday.html 기념일 50일은?100일은?오늘은 몇일째? 11) eventday_teach.html 기념일 사귄날짜를 입력하세요~ 50일은? 100일은? 오늘은 몇일째?