Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

JavaScript Tutorial

JavaScript Tutorial

JavaScript is the programming language of the Web.

All modern HTML pages can use JavaScript.

JavaScript is very easy to learn.

This tutorial will teach you JavaScript knowledge from beginner to advanced.

JavaScript online examples

This tutorial contains a large number of JavaScript examples; you can click "Try it" to view them online.

Example

My first JavaScript program

This is a paragraph

Try it »

On each page you can click "Try it" to view examples online!!!

Try each example and modify the code online to see different results!!!

Note If you learn step by step from this site's examples, you will master JavaScript in a very short time.

Why learn JavaScript?

JavaScript is one of the 3 languages every web developer must learn:

  1. HTML defines the content of the web page
  2. CSS describes the layout of the web page
  3. JavaScript controls the behavior of the web page

This tutorial is about JavaScript and introduces how JavaScript works together with HTML and CSS.

Who is this tutorial for?

  1. If you want to learn JavaScript, you can learn from this tutorial:

Understand how JavaScript works with HTML and CSS.

  1. If you have already used JavaScript before, you can also read this tutorial:

JavaScript is constantly being upgraded, so we need to stay up to date with new JavaScript technologies.

Knowledge you need before reading this tutorial:

To read this tutorial, you need to have the following foundation:

JavaScript examples

Learn from over 100 JavaScript examples!

On the example pages, you can click "Try it" to view JavaScript examples online.

JavaScript Quiz

Test your JavaScript skills at Runoob Tutorial!

JavaScript Quiz

JavaScript Reference Manual

At Runoob Tutorial, we provide you with complete reference manuals for JavaScript objects, browser objects, and HTML DOM objects.

The following manuals contain examples for each object, property, and method.

HTML/CSS/JS online tools

HTML/CSS/JS online tools let you edit HTML, CSS, and JS code online and see the results in real time; you can also save and share quality code:https://www.jyshare.com/front-end/61/