JavaScript

I will admit that as a developer, in the past I was quick to reach for a JavaScript library like jQuery  when I needed JavaScript of any kind. I found JavaScript code far less intuitive than PHP and of course the JavaScript circa 2010 was nowhere near as refined or capable as that of 2024.

Setup

There is no “setup” for JavaScript: all modern browsers are capable of executing JavaScript code. Like all things web, JavaScript has come a long way over the years.

One of the newer applications of the language is Node.js, “an asynchronous event-driven JavaScript runtime, Node.js is designed to build scalable network applications.” [1]

When I started in web development, if you wanted any kind of movement on your web page, you used Flash (which no longer exists), or <marquee> (which is a sin against mankind). Now we have JavaScript, JavaScript libraries and of course, the beauty of modern CSS to take care of dynamic behaviour in the browser.

JavaScript & APIs

The introduction of standardised APIs for client-side scripting languages such as JavaScript offers a massive amount of functionality that is relatively easy to use. See the posts tagged JavaScript APIs  for JavaScript examples.

Tutorials

I have attempted to separate vanilla JavaScript tutorials from those involving JavaScript libraries such as jQuery [2] and AngularJS.

JavaScript

JavaScript Libraries

Resources

I use Codepen & JSFiddle quite extensively as an easy way to learn JavaScript.

codepen.io

See the Pen Hello World! by David Fox (@foxbeefly) on CodePen.

jsFiddle


References:

  1. Node.js. (no date) Node.js – Run JavaScript Everywhere. Available at: https://nodejs.org/en (Accessed: 26 June 2024).
  2. openjsf.org, O. F. (no date) jQuery. Available at: https://jquery.com/ (Accessed: 19 June 2024).