Preface to the Basic JavaScipt Tutorial_Basic Knowledge
JavaScript Reference Tutorial
This tutorial provides relatively complete basic knowledge for readers who have not been exposed to JavaScript, but it is limited to basic knowledge: all JavaScript closely related to dynamic web pages are not mentioned in this tutorial, including dynamic positioning, Animation, allowing the document to receive more events (document.captureEvent()), etc.; all the different JavaScripts in IE and Netscape are rarely mentioned.
This tutorial is designed more like a reference in structure. It has the planning nature of a reference, but also has the nature of a tutorial, so I call it a "reference tutorial".
This tutorial is not intended for readers who have not learned HTML well. This tutorial will mention HTML content many times and will not explain the knowledge of HTML.
Readers who have never been exposed to JavaScript should have a deeper grasp of JavaScript after reading this tutorial.
Readers who are familiar with JavaScript can use this tutorial as a reference.
This tutorial explains the basics of JavaScript in more detail, and explains more in-depth knowledge such as objects and events in a simple, reference-like manner. If the reader has certain understanding and digestion abilities, I believe that after mastering the basic parts, he will not encounter any difficulties in learning the advanced chapters. The reference structure used in this tutorial makes the tutorial look uniform - when talking about statements, there is no mention of any knowledge other than the statements; when talking about objects, there is no mention of any knowledge other than the objects. . If you want to learn JavaScript quickly, you may want to master the "chapter skip learning" method.
You can see the entire structure tree of this tutorial on the left. It can be seen that it is divided into 5 chapters. The first two chapters are basic knowledge, the third and fourth chapters are advanced knowledge-objects, and the fifth chapter is a detailed explanation of two objects-framework and cookies. As the third chapter Supplement to the content in Chapter Four.
Readers with poor understanding or strong dependence may feel powerless when learning the core of JavaScript - object-based programming, because they are not used to such reference-style articles; readers who are eager for success may be very unified with this tutorial. The reference structure is disgusting because they have to learn Chapters 3 and 4 before they can do a little JavaScript.
This tutorial lacks examples. Readers must have a strong "understanding" and be willing to practice it themselves, so that they can master JavaScript well.
Micro is the only author of this tutorial. Is he great? In addition to me, there are two JavaScript books. One is a JS 1.1 tutorial, but the book was borrowed by others not long after this tutorial was compiled; the other is a very shallow reference. If you copy it, no one will understand it. What. There are also two browsers for practice; there are also English versions of JavaScript references and tutorials from MSDN and Netscape. There is also a brain, two hands, and a computer...
What are the characteristics of JavaScript?
JavaScript makes web pages more interactive. JavaScript simplifies regularly repeated HTML segments, reducing download times. JavaScript can respond to user operations in a timely manner and perform instant checks on submitted forms without wasting time on CGI verification. The features of JavaScript are endless, as long as you are creative.
What is the difference between Java and JavaScript
When many people see the word "Java" in both Java and JavaScript, they think they are the same thing, even myself. In fact, they are two completely different things. Java, whose full name should be Java Applet, is a small program embedded in a web page and has its own independent running window. Java Applet is pre-compiled. An Applet file (.class) can be opened and read with Notepad and cannot be understood at all. Java Applet is very powerful. It can access http, ftp and other protocols, and can even plant viruses on the computer (there is precedent). In comparison, JavaScript's capabilities are relatively small. JavaScript is a kind of "script" ("Script"). It writes codes directly into HTML documents. They are compiled and executed when the browser reads them. Therefore, if you can view the HTML source file, you can view the JavaScript source code. JavaScript does not have an independent running window. The current window of the browser is its running window. The only thing they have in common is that they use Java as a programming language.
What software should be used to develop JavaScript
A JavaScript program is actually a document, a text file. It is embedded into the HTML document. Therefore, any software that can write HTML documents can be used to develop JavaScript. Here I recommend that you use the Microsoft Script Editor that comes with FrontPage 2000 (in FrontPage Menu | Tools | Macros | Microsoft Script Editor). It is a program developer like Visual Basic/C that can provide brief prompts for the statements being entered. Cooperating with FrontPage 2000, the workload is greatly reduced.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Frequently Asked Questions and Solutions for Front-end Thermal Paper Ticket Printing In Front-end Development, Ticket Printing is a common requirement. However, many developers are implementing...

JavaScript is the cornerstone of modern web development, and its main functions include event-driven programming, dynamic content generation and asynchronous programming. 1) Event-driven programming allows web pages to change dynamically according to user operations. 2) Dynamic content generation allows page content to be adjusted according to conditions. 3) Asynchronous programming ensures that the user interface is not blocked. JavaScript is widely used in web interaction, single-page application and server-side development, greatly improving the flexibility of user experience and cross-platform development.

There is no absolute salary for Python and JavaScript developers, depending on skills and industry needs. 1. Python may be paid more in data science and machine learning. 2. JavaScript has great demand in front-end and full-stack development, and its salary is also considerable. 3. Influencing factors include experience, geographical location, company size and specific skills.

Learning JavaScript is not difficult, but it is challenging. 1) Understand basic concepts such as variables, data types, functions, etc. 2) Master asynchronous programming and implement it through event loops. 3) Use DOM operations and Promise to handle asynchronous requests. 4) Avoid common mistakes and use debugging techniques. 5) Optimize performance and follow best practices.

Discussion on the realization of parallax scrolling and element animation effects in this article will explore how to achieve similar to Shiseido official website (https://www.shiseido.co.jp/sb/wonderland/)...

How to merge array elements with the same ID into one object in JavaScript? When processing data, we often encounter the need to have the same ID...

The latest trends in JavaScript include the rise of TypeScript, the popularity of modern frameworks and libraries, and the application of WebAssembly. Future prospects cover more powerful type systems, the development of server-side JavaScript, the expansion of artificial intelligence and machine learning, and the potential of IoT and edge computing.

In-depth discussion of the root causes of the difference in console.log output. This article will analyze the differences in the output results of console.log function in a piece of code and explain the reasons behind it. �...
