JavaScript (JS) is an interpreted programming language that is widely used on the web to control web page behavior and interactivity. Drupal core has several JavaScript libraries included, and many websites today use JavaScript in some capacity to improve the website experience.
Example tasks
- Learn how to use JavaScript to provide client side animation and functionality
- Understand how to incorporate a third party JavaScript library into a Drupal site
- Learn about the JavaScript libraries included in Drupal
Confidence
While JavaScript frameworks and utilities are released at a rapid pace, JavaScript itself is a foundational technology. Drupal’s interface for working with JavaScript asset libraries and the API provided by Drupal for working with JavaScript are unlikely to change substantially in the near future.
Drupalize.Me resources
External resources
-
The Modern JavaScript Tutorial (javascript.info/)
- How it's done now. From the basics to advanced topics with simple, but detailed explanations.
-
MDN JavaScript (developer.mozilla.org)
- Tutorials for beginners through advanced, along with a wealth of reference materials.
-
Learn JavaScript (codecademy.com)
- Interactive tutorial site where you can code in the browser as you work through the lessons.
-
HTMLDog JavaScript Tutorials (htmldog.com)
- A whole set of tutorials for beginner through advanced. They have a full suite of HTML and CSS tutorials as well.
-
Superhero.JS (superherojs.com)
- A best practice collection of articles, videos, and presentations to help you learn JavaScript.
-
JavaScript for PHP Geeks (symfonycasts.com)
- A series of video tutorials on JavaScript, specifically with a PHP developer audience in mind. From our friends at SymfonyCasts.
jQuery
-
jQuery documentation
- This is the official documentation site for jQuery.
JSX
Learn more about JSX:
- Introducing JSX (reactjs.org)
- JSX technical documentation (jsx.github.io)
- Babel JSX compiler (babeljs.io)
- Online JSX compiler (babeljs.io)
- React without JSX (reactjs.org)
- What Is JSX? (reactenlightenment.com)