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
Both em and rem units are based on the font-size CSS property. The only difference is where they inherit their values from. em units inherit their value from the font-size of the parent element rem units inherit their value from the font-size of the root element (html) In most browsers, the font-size of the Continue reading What is the difference between em and rem units?