JavaScript Tutorials

A collection of JavaScript tutorials to help you learn or sharpen your JavaScript skills.

1945 views

Edited: 2021-01-23 17:32

Learn JavaScript & jQuery

JavaScript is a client-sided scripting language that makes it possible to manipulate the layout and content of HTML pages; but, it can also be used fore more complex things — including the creation of images!

The tutorial collection on this page can be used as a reference when learning JavaScript. Each article generally includes live examples of the code so that you can preview the results directly from your browser.

Generally tutorials should also include library example code. jQuery is a JavaScript library that should make it easier to work with DOM (Document Object Model) manipulation.

Tell us what you think:

  1. Some websites are blocking devtools with malicious JavaScript, so here is how to stop that without disabling JavaScript.
  2. We can not handle HTTP POST data from JavaScript, but we can still access the data while it is in the HTML form.
  3. getElementById should be used to select unique elements in a HTML document. Selected elements can be manipulated with JavaScript.
  4. Should you use querySelector or getElementById?; querySelector is more flexible, and able to perform more complex selections.
  5. the keydown event is not an ideal way to detect text-input by the user; instead you should consider using the input event.

More in: JavaScript Tutorials