diff --git a/day-01/helloworld.js b/day-01/helloworld.js new file mode 100644 index 0000000..8c9e2c0 --- /dev/null +++ b/day-01/helloworld.js @@ -0,0 +1 @@ +console.log('Hello, World!') \ No newline at end of file diff --git a/day-01/index.html b/day-01/index.html new file mode 100644 index 0000000..e9f7c36 --- /dev/null +++ b/day-01/index.html @@ -0,0 +1,20 @@ + + + + + + 30DaysOfScript:Inline Script + + + + + + + + + + \ No newline at end of file diff --git a/day-01/introduction.js b/day-01/introduction.js new file mode 100644 index 0000000..d474745 --- /dev/null +++ b/day-01/introduction.js @@ -0,0 +1,4 @@ +console.log('Welcome to 30DaysOfJavaScript') + +// let firstDay = 1 +// firstDay = 2 \ No newline at end of file diff --git a/day-01/level1.js b/day-01/level1.js new file mode 100644 index 0000000..e69de29 diff --git a/mydocs/simpleJS.md b/mydocs/simpleJS.md new file mode 100644 index 0000000..7c3342f --- /dev/null +++ b/mydocs/simpleJS.md @@ -0,0 +1,18 @@ +자바스크립트를 적용하는 방법들 +1. Inline script +2. Internal script +3. External script +4. Multiple External scripts + +Inline script +- alert같은 built-in function같이 html에 자연스레 들어가있음 + +Internal script +- 이렇게 html에 끼워넣는다 + +External의 경우 +- JS파일을 따로 만들어서 넣는다 +- + +--- +