From 008c282632b3ee9cc5f6c3fd5a2c28f247852e70 Mon Sep 17 00:00:00 2001 From: Seungmin Baek Date: Tue, 13 Oct 2020 01:51:40 +0900 Subject: [PATCH] =?UTF-8?q?=ED=95=98=EB=A3=A8=EA=B0=99=EC=9D=80=20?= =?UTF-8?q?=EC=9D=B4=ED=8B=80=EC=A0=95=EB=8F=84=20=EA=B1=B8=EB=A6=B4?= =?UTF-8?q?=EB=93=AF=3F=20=EC=82=AC=EC=8B=A4=EC=83=81=2060-Days-Of-React?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- day-01/helloworld.js | 1 + day-01/index.html | 20 ++++++++++++++++++++ day-01/introduction.js | 4 ++++ day-01/level1.js | 0 mydocs/simpleJS.md | 18 ++++++++++++++++++ 5 files changed, 43 insertions(+) create mode 100644 day-01/helloworld.js create mode 100644 day-01/index.html create mode 100644 day-01/introduction.js create mode 100644 day-01/level1.js create mode 100644 mydocs/simpleJS.md 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파일을 따로 만들어서 넣는다 +- + +--- +