Print media style drop caps using only CSS
August 9, 2021 — The first character in this paragraph, the letter “T”, is called a drop cap or an “initial”. Why? Because in a written or published work, an initial or drop cap is a letter at the beginning of a word, a chapter, or a paragraph that is larger than the rest of the text.
Filter certain values from the output of JSON.parse() method
August 5, 2021 — If you’ve ever worked with JSON objects in JavaScript, you most probably have reached the JSON.parse() method at some point or another which parses a JSON string and returns the JavaScript value or object described by the string.
Quickly search keywords in your projects using Git Grep
August 2, 2021 — More often than not you’ll find yourself in situations where you would need to search keywords or phrases across your project.
The new @class Blade directive in Laravel 8.x
July 31, 2021 — Sometimes, the biggest sign that shows that a framework is maturing is when it has multiple ways of doing the same thing. Laravel, being one of these frameworks, is no exception.
Break HTML content into newspaper-like columns using pure CSS
July 25, 2021 — Sometimes, the things you might think are tricky to implement can turn out to be a matter of just a few lines of code if you read the documentation.
Outputting Eloquent query unparameterized in Laravel
July 24, 2021 — One of the many benefits of using Laravel as a framework is the immense customizability it comes with. So, you can use this to overcome some of the limitations.
Get all the changes applied by model updates in Laravel
July 20, 2021 — Here’s a little tip I get to know about Eloquent through this tweet by ninjaparade.
How to represent the number of days in natural language in JavaScript
July 19, 2021 — Extending the use of the Intl object from the previous article, today we’re going to talk about the Intl.RelativeTimeFormat object that has an important and relatively frequent usecase in modern web applications.
How to convert arrays to human-readable lists in JavaScript
July 11, 2021 — Oftentimes, you might end up in situations where you have an array and you just want to deflate the entire array content in a human-readable form. Or more specifically in a list-like format.