JavaScript is a literal scripting language, referred to as JS. 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 web pages to add dynamic functions to HTML web pages.
It is recommended that you learn HTML CSS before learning js, because the basic operation of javascript is to operate html tags and css attributes.
I recommend a few books for you to learn JavaScript. The introductory book "The Art of JavaScript DOM Programming" and the more comprehensive one are "Javascript Advanced Programming". After reading this, you have almost learned the basics of js
Then you need to learn js frameworks, such as vue.js, react, angular.js, etc.
The above is the detailed content of What foundation is needed to learn js?. For more information, please follow other related articles on the PHP Chinese website!