Search
The Ultimate Guide to JavaScript Algorithms: Search and Replace
8.2.2019
The "Search and Replace" functionality is very common within word processing applications used for creating notes, documents and things of that nature. In this challenge, we implem
JavaScript Glossary: Array .splice() Method
8.2.2019
Basics
The splice array method changes an existing array by removing, adding and/or replacing specified elements from it. The method mutates the array and returns an array of
JavaScript Glossary: Array .slice() Method
8.2.2019
Basics
The slice array method copies a given part of an array returning the selected part as an array. It doesn’t mutate the given array rather, it returns a new array
JavaScript Glossary: Array .shift() Method
8.2.2019
Basics
This method takes out the first element from an array and returns it. The shift method mutates the array during this process, reducing its length
JavaScript Glossary: Array .reverse() Method
8.2.2019
Basics
This method changes the position of elements within the array. The first element goes to the last position and the last element goes to the first position. The method returns the re
JavaScript Glossary: Array .push() Method
8.2.2019
Basics
This methods appends one or more value to the last position of an array. This method mutates the array returning the new length of the array.
let
JavaScript Glossary: Array .pop() Method
8.2.2019
Basics
This method takes out the last element from an array and returns it. The pop method mutates the array during this process reducing its length
JavaScript Glossary: Array .map() Method
8.2.2019
Basics
The map() method takes a callback method that performs an operation on the elements in the array. It returns a new array containing the resulting values of running the
JavaScript Glossary: Array .includes() Method
8.2.2019
Basics
This method checks if an array contains a given element. The return value for this method is a Boolean. true if the element exists in the array and f
JavaScript Glossary: Array .forEach() Method
8.2.2019
Basics
The forEach() method takes a function that performs an action on each of the elements in this array.
[1, 2, 3, 4, 5].forEach(functio
JavaScript Glossary: Array .toString() Method
8.2.2019
Basics
This method returns a String representation of the elements withing the calling array. This method is somewhat similar to the join() method. It returns a s
JavaScript Glossary: Array.some()
8.2.2019
Basics
This method checks if any of the elements contained in an array passes a set test. If at least one of the elements passes this test, true is returned. This method only
Revisiting the abbr element
7.2.2019
An irresistible HTML element deep dive from Ire Aderinokun, this time on the <abbr title=""> element for abbreviations. You can kinda just use it (JUI) and it works fine, but if you're hoping to make a tooltip for them (which works on touchscreens as well), then it's much more complicated....
10 Amazing JavaScript Games In Under 13kB of Code
7.2.2019
A collection of awesome browser games, each one masterfully crafted with only 13 kilobytes of code
The Ultimate Guide to JavaScript Algorithms: Finding the Longest Word In a Sentence
7.2.2019
Finding the longest word in a string of text is a very common algorithmic challenge in the JavaScript world. In this article we examine three ways to solve this challenge, with each method showcasi
JavaScript Glossary: Array .every() Method
6.2.2019
Basics
The every method checks that each element in an array passes a set test. This method will return true if all the elements pass the set. Once an element tha
The Ultimate Guide to JavaScript Algorithms: Hamming Distance
5.2.2019
In this challenge we will come up with an algorithm to calculate the edit distance between two strings of equal length, also known as Hamming Distance.
What is hamming dist
Collective #489
4.2.2019
React as a UI Runtime * WOWA * Lemon-JS * useHooks * Limiting JavaScript? * dailydevlinks * MiniSearch
Collective #489 was written by Pedro Botelho and published on Codrops
What Hooks Mean for Vue
4.2.2019
Not to be confused with Lifecycle Hooks, Hooks were introduced in React in v16.7.0-alpha, and a proof of concept was released for Vue a few days after. Even though it was proposed by React, it’s actually an important composition mechanism that has benefits across JavaScript framework ecosystems,...
Code Challenge #15: Simple Crazy Buttons with VanillaJS
4.2.2019
Woohoo! This is the first of our live stream code challenge series, and we'll kick it off with completing a super satisfying and rather funny challenge using HTML, CSS and plain Vanilla JavaScript