Introduction to JavaScript
1. Definition : JavaScript is a scripting language that requires a host file, and its host file is an html file.
JavaScript is a lightweight programming language.
JavaScript is programming code that can be inserted into HTML pages.
JavaScript, when inserted into an HTML page, can be executed by all modern browsers.
2. Usage :
has three positions in html:
1) Inside the head;
2) Inside the body;
3) After , it is usually written after