Journal
JavaScript
-
JavaScript ES6: The Basics of Classes
In this article, you’ll see how messy and complex it is to set up prototypal inheritance in ES5 and how you can use JavaScript ES6 Classes to make understanding and implementing inheritance much easier!
-
JavaScript ES6: Template Strings
Template strings (or template literals) don’t offer much in the way of new functionality but instead make some quality of life improvements to our syntax.
-
JavaScript ES6: const and let
Replacing var with const/let is all about increasing clarity in your code and by the end of this article, I’m hoping I will have convinced you to never use var again!
-
JavaScript ES6: The map() Helper
The map() helper is used when we want to modify a list of data. When map() is finished running, it creates and populates a new array with the results. Let's see how it works!
-
JavaScript ES6: The forEach() Helper
forEach() is an ES6 helper that is used to call a function once on each item in an array and is arguably the most useful ES6 helper. Let's dig into how it works.
-
Creating Interactive Accordions using jQuery
Accordions are useful interface elements that, when clicked, will expand or condense the information on a web page. In this article, I will provide examples on how to create accordions and nested accordions using jQuery, and explain when you might want to use accordions.
-
JavaScript ES6: The Basics of Destructuring
Destructuring is one of the most common and important features of ES6. It allows us to extract data from arrays and objects, and assign that data into their own variables. Let's go over the basics!