Home>Article>Web Front-end> Understand JavaScript basics (very detailed)
Free learning recommendation:javascript video tutorial
##What isJavaScript
##JavaScriptis a scripting language that is object- and event-driven and has security features. It has been widely used in Web application development. It is often used to add various dynamic functions to web pages and provide users with Smoother and more beautiful browsing effect. Usually JavaScript scripts realize their functions by embedding them in HTML.JavaScript
Featuresis an interpretive script Language (the code is not precompiled).
is mainly used to add interactive behaviors to HTML (an application under Standard Universal Markup Language) pages.
can be directly embedded in HTML pages, but writing it as a separate js file is beneficial to the separation of structure and behavior.
Cross-platform features, with the support of most browsers, can run on multiple platforms (such as Windows, Linux, Mac, Android, iOS, etc.).
Composed
Daily uses of JavaScript
Embed dynamic text into HTML pages.
Respond to browser events.
Read and write HTML elements.
Validate data before it is submitted to the server.
Detect the visitor’s browser information.
Control cookies, including creation and modification.
Server-side programming based on Node.js technology.
Example:
……初学JavaScript