JavaScript - Understanding JS
How to check JavaScript code in Browser
JavaScript
What is JavaScript?
The programming language for the interactive WEB
FrontEnd 를 위한 only language –> JS
javascript는 html과 css를 넘어서서 이벤트에 반응하기 위해서 만들어졌음
ES5, ES6, ES
- ES5 : ECMAScript5
- ES6 : ECMAScript6
- spec
- javascript 는 Specification 에 따라 업데이트됨
VanilaJS
JavaScript that is provided to you through the browser
it’s pure raw Javascript with no frameworks or libraries
JavaScript coding
- JS 파일은 항상 Body 아래에 있어야한다.
<script>
is not a self closing tag.
<!DOCTYPE html>
<html>
<head>
<title>Something</title>
<link rel="stylesheet" href="index.css"/>
</head>
<body>
<h1>This works!</h1>
<script src="index.js"></script>
</body>
</html>