Why is it called JavaScript?
The reason is that the Java language is very hot, so I want to use the popularity of Java to promote, but in fact JavaScript in addition to the syntax is a bit like Java, the rest of the other part of the basic relationship. ECMA Script
To make JavaScript a global standard, several companies combined ECMA (European Computer Manufacturers Association) have customized the JavaScript language standard, known as the ECMAScript standard The purpose of using JS
Add some response effects to the original static Web page method of referencing JS
1. Referencing inside HTML
2. Generate a separate. js file
For example, my HTML would like to refer to the jquery file under my Engineering folder:
<! DOCTYPE html>
how to debug JS
The most common debugging is to use Google browser Chrome F12, console mode, you can enter the corresponding JS statement to see the code execution results, or breakpoints, single-step execution and other advanced debugging techniques