Introduction to JavaScript

JavaScript Introduction

JavaScript is the programming language of the Web.All modern HTML pages use JavaScript.


JavaScript is the most popular scripting language on the Internet. This language can be used for HTML and web, and can be widely used on servers, PCs, laptops, tablets, smartphones and other devices .


JavaScript is a scripting language

JavaScript is a lightweight programming language .

JavaScript is programming code that can be inserted into HTML pages.

JavaScript, when inserted into an HTML page, can be executed by all modern browsers.

JavaScript is easy to learn.


Example

Let’s look at a program that turns lights on and off through JavaScript

    php中文网(php.cn) 

点击灯泡就可以打开或关闭这盏灯

Run the program and try it



Continuing Learning
||
php中文网(php.cn)

点击灯泡就可以打开或关闭这盏灯

submit Reset Code
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!