-
# 1. Utilization of Function
- 리팩토링: 동작하는 내용은 똑같지만 코드를 효율적으로 하는 것
- 리팩토링의 수단 중 하나가 `함수`
# 2. Object(객체)
- 함수라는 것 기반 위에서 존재
- 정리 정돈의 수단
- 함수뿐만 아니라 연관된 변수들이 엄청나게 많아졌을 때, 복잡도를 줄이기 위해 사용
- `서로 연관…
-
# 1. Function(함수)
## 1.1 Basic of grammar
```html
function two() {
document.write('2-1');
document.write('2-2');
}
two();
```
- Someone created a function call…
-
# 1. Loop(반복문)
(1)
```html
document.write('1');
var i = 0; // The value of i is curretly 0 (i의 값은 현재 0)
while(i < 3) {
document.write('2');
document.write('3');…
-
# 1. Array(배열)
- Concept of storage box
## 1.1 Grammar(문법)
- `[](대괄호)`를 사용하여 여러 개의 값들을 저장
- 값과 값 사이는 `,(콤마)`로 구분
```html
var coworkers = ["egoing", "leezche"];
```
- `index`: ~번재 자리에…
-
# 1. Refactoring(리팩토링)
- It is a work that enhances code to improve readability, and maintenance, reducing redundant code, leaving the original operation as it is, and making the code more efficient.…
-
# 1. Grammar of Conditional Statements (조건문 문법)
(1) if statement:
- If statement is followed by the boolean data.
- True: The value before 'else' is returned.
- False: The value after 'else' is re…
-
# 1. Conditional Statement(조건문)
- is Implementing another terms by terms.
- helps us to solve repeated and complex assignments.
## 1.1 Comparison Operator(비교 연산자)
(1) `===`:
- `Binary Operator(…
-
# 1. Program
- is word including 'order/turn'.
- is an action that creates order.
- `JavaScript was created to interact with users over time.`
-
# 1. Select tag to control
- Search 'javascript style background'
- Applying `day/dark mode`
```html
...
...
```
-
_(Mon.11.08.2024 ~ .1.08.2024)_
# 1. Using CSS with style properties
- When you want to design a particular tag in the language CSS, you can write the attribute style and use the grammar attribute…