The General Sibling Selector ~ selects all elements that are siblings of a specified element. The following example selects all <p> elements that are siblings of <div> elements: The Adjacent Sibling Selector + selects all elements that are the adjacent siblings of a specified element. The following example Continue reading s What is the difference between ‘+’ and ‘~’ sibling selectors?
Big O notation is used in Computer Science to describe the time complexity of an algorithm. The best algorithms will execute the fastest and have the simplest complexity. Algorithms don’t always perform the same and may vary based on the Continue reading What is Big O Notation?
In HTML, the attribute name is in all lowercase and is given a string invoking a function defined somewhere: In React, the attribute name is camelCase and are passed the function reference inside curly braces: In HTML, false can be returned to Continue reading What is the difference between HTML and React event handling?
The Laravel team released Laravel 5.8.3 yesterday adding a countBy() collection method and a few protected methods to Laravel framework classes. First, the Collection::countBy method which counts the number of items in a collection by a predicate. By default, the method counts each appearance Continue reading Laravel 5.8.3 Released