JavaScript is THE scripting language of the Web.
JavaScript is used in billions of Web pages to add functionality, validate forms, communicate with the server, and much more.
JavaScript is easy to learn. You will enjoy it.
This tutorial contains hundreds of "Try it yourself" examples.
With "Try it yourself", you can edit JavaScript code online, and click on a button to view the result:
Use the "Try it yourself" examples on every page !!!
Change and experiment as much as possible with the code, and learn how everything works !!!
1. This tutorial is for you who want to learn JavaScript:
What JavaScript is, and how to make it work with HTML and CSS.
2. This tutorial is also for you who have used JavaScript before:
Bring your knowledge up to date. A lot has changed in JavaScript development in the last years.
Before you continue, you should have a basic understanding of the following:
If you want to study these subjects first, find the tutorials on our Home page.
Learn JavaScript by hundreds of examples!
With "Try it yourself", you can edit the source code and click on a button to view the result.
Test your JavaScript skills at W3Schools!
At W3Schools you will find complete references of all JavaScript objects, Browser objects, and HTML DOM objects.
The references contains examples for every object, property, and method.
The perfect solution for professionals who need to balance work, family, and career building.
More than 10 000 certificates already issued!
The HTML Certificate documents your knowledge of HTML.
The HTML5 Certificate documents your knowledge of advanced HTML5.
The CSS Certificate documents your knowledge of advanced CSS.
The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.
The jQuery Certificate documents your knowledge of jQuery.
The XML Certificate documents your knowledge of XML, XML DOM and XSLT.
The ASP Certificate documents your knowledge of ASP, SQL, and ADO.
The PHP Certificate documents your knowledge of PHP and SQL (MySQL).
Your message has been sent to W3Schools.