JavaScript is a literal scripting language. It is a dynamically typed, weakly typed, prototype-based language with built-in support for types. Its interpreter is called the JavaScript engine, which is part of the browser and is widely used in client-side scripting languages. It was first used on HTML (an application under Standard Universal Markup Language) web pages to add dynamic functions to HTML web pages. .
1. Preparation:
1. Why learn JavaScript
All major browsers are Javascript only
Most web pages use Javascript
It can make web pages present various dynamic effects
Easy to learn
2. How to insert JS
<script> tags should appear in pairs, and write JavaScript code between <script></script>.