<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<Script src = "main.js"></Script>
</head>
<body>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div><div>
<Script src = "main.js"></Script>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<Script async src = "main.js"></Script>
</head>
<body>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<Script defer src = "main.js"></Script>
</head>
<body>
</body>
</html>
// Whoel-script strict madde syntax
// JavaScript is very flexible
// flexible === dangerous
// added ECMAScrips 5
// 일반적으로 선언하고 하는 것이 좋다!!
'use strict';
console.log("Hello World!");
출처 : youtu.be/tJieVCgGzhs
반응형
'Develope_Web_Programming > 01_HTML&CSS&JS' 카테고리의 다른 글
7.오브젝트 넌 뭐니?? (0) | 2021.02.14 |
---|---|
6. 클래스와 오브젝트의 차이 (0) | 2021.02.13 |
5. Arrow Function은 무엇인가? (0) | 2021.02.13 |
4. 코딩의 기본 operator, if, for loop (0) | 2021.02.13 |
3. 데이터 타입, data types, let vs var, hoisting (0) | 2021.02.13 |
Uploaded by Notion2Tistory v1.1.0