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?
Laravel 5.8.5 was released yesterday with a security fix for the unique validation rule, and the latest weekly changes and features. First, a new Gate::none() method determines the denial of any of the given abilities for the current user. Next, a new OtherDeviceLogout event gets fired Continue reading Laravel 5.8.5 Released
With HTML5, web pages can store data locally within the user’s browser. The data is stored in name/value pairs, and a web page can only access data stored by itself. Differences between localStorage and sessionStorage regarding lifetime: Data stored through localStorage is permanent: it does not Continue reading What is HTML5 Web Storage? What is localStorage and sessionStorage!
The Laravel team released v5.8.4 yesterday with a new collection join method and an HTTP Kernel middleware getter. First, the new Collect::join() method to join all items from the collection using a string. The final item can use a separate “glue” string as well: Continue reading Laravel 5.8.4 Released