JavaScript Basics of front-end development

Source: Internet
Author: User

Main content:

1. JavaScript Introduction

2. How JavaScript is introduced

3. JavaScript variables and Naming conventions

4. Five basic types of data

5. Operators

6. String processing

7. Data type Conversion

First, JavaScript introduction

1. What is JavaScript?

     JavaScript is a descriptive language for the Web front-end, and is a well-secured scripting language based on object and event-driven (driven).  it runs on the client side thereby easing the burden on the server.

Has the following characteristics:

(1) JavaScript is used primarily to add interactive behavior to HTML pages. (2) JavaScript is a scripting language, and the syntax is similar to the language of the C language family language, which is a weak language type. (3) JavaScript is typically used to write client-side scripting, except for node. js. (4) JavaScript is an interpreted language, which does not need to be compiled in addition to the side-execution side interpretation.

2. What is JavaScript used for?

The purpose of JavaScript is to resolve page interactions and data interactions, with the ultimate goal of enriching client-side effects and effectively delivering data. Specifically:    (1) achieve page interaction, enhance the user experience to achieve page effects. That is, JS operates the DOM structure or operation style of the HTML.    (2) The client form verification is the timely and effective verification of the user submitted information before the data is delivered to the server, alleviating the server pressure. That is, data interaction.

3. What is the relationship between JavaScript and ECMAScript?

Difference:     ECMAScript is the Web standard for scripting programming languages.     JavaScript is a lightweight, interpreted scripting language. Contact:     Ecmascripts is the European Computer Manufacturing Association, JavaScript and Microsoft Inc., a Netscape invented by the American Netscape Communications company, then developed the ECMAScript standard in imitation of the JavaScript scripting language.    

4. What are the parts of JavaScript?

There are three main parts:    ECMAScript, DOM, BOM, respectively.    Dom is when a page is loaded, the browser creates a Document object model of the page.    BOMs refer to the Browser object model (Browser object models), and there is no formal standard.

Two
  
 

JavaScript Basics of front-end development

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.