* if if ("10" === 10) { // == 는 값만 비교하고 ===는 형식까지 비교한다. console.log("hi"); } else if ("10" === "10") { console.log("ha"); } else { console.log("alalalal"); } if (20 > 5 && "nicolas" == "nicolas") { // || 은 or이고 &&는 and console.log("haha"); } else { console.log("lala"); } * if + click const title = document.querySelector("#title"); const BASE_COLOR = "rgb(250, 128, 114)"; const OTHER_COLOR = "#FF..
* Function (함수) 기능적인 요소를 부여해준것 function sayHello() { //sayHello 라는 함수 선언 console.log("hello!"); } sayHello(); //함수 호출 // hello! // sayHello([args]); function sayHello(potato) { console.log("hello!", potato); } sayHello("haha"); // hello! haha // sayHello([args1, args2]); function sayHello(potato, caca) { console.log("hello!", potato, "you", caca); } sayHello("haha", 25); * more function sayhello..
* Array 데이터를 저장해두는 리스트와 같은것 // Array const monday = "Mon"; const tue = "Tue"; const wed = "Wed"; const thu = "Thu"; const fri = "Fri"; console.log(monday, tue, wed, thu, fri); // 비효율적 const daysOfWeek = ["Mon", "Thu", "Wed", "Thu", "Fri", "Sat", "Sum"]; // camelcase : 변수명을 정할때 띄어쓰기가 필요한 부분은 대문자로 console.log(daysOfWeek); console.log(daysOfWeek[2]); // 0부터 시작이기때문에 2를 입력하면 3번째에 있는 Wed가 나온다. const m..
1. Why Use? Web을 interractive로 만들고 싶을때 사용언어는 JavaScript (JS)뿐이다. Backend에서는 JAVA, Python, Ruby, ASP 등등 사용 언어가 많다. 때문에 Fragmentation이 없기 때문에 모두 같은 언어로 대화 할 수있다. 웹이 빠르게 발전함에따라 JS 또한 빠르게 발전한다. 2. 특징 내 위치, 날씨, Realtime 등등의 작업이 가능하다. Web뿐만아니라 interractive한 앱이나 간단한 게임을 만들때에도 사용된다. 참고 사이트 더보기 http://taotajima.jp/ TAO TAJIMA | Filmmaker A director and film maker with the Tokyo visual design studio Tangr..
- Total
- Today
- Yesterday
- axios
- CORS
- 공공데이터
- 개발자회고
- nodejs
- 프론트엔드회고
- cssom
- 노드JS
- baegofda
- vue
- 프론트엔드개발자
- HTML
- INPUT
- inline
- JavaScript
- VanillaJS
- 생활코딩
- font-family
- 오물오물
- function
- vue입문
- react
- CSS
- 프론트엔드
- 공공데이터포털
- postman
- 리액트
- vue3
- 프론트엔드면접
- vue예제
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |