by S M Zahed Kamal | Oct 3, 2022 | PHP, Snippet
Today I will share a snippet I’ve used in a project. Using that function, you can recursively remove key-value pairs from any multi-dimensional array. Here is the function : function deep_clean($array) { $remove_keys = [ 'key_1',...
by S M Zahed Kamal | Mar 25, 2022 | Javascript
JavaScript AJAX (Asynchronous JavaScript and XML) is a technique that gives the ability to send and receive data asynchronously from a web server. AJAX allows you to create rich, responsive user interfaces. It makes it easy to update data on the page without having to...
by S M Zahed Kamal | Mar 7, 2022 | Bootstrap, CSS, Javascript
By default, Bootstrap carousel has no way to add animations to carousel elements. Here I’m going to show you how you can do that. Let’s create the carousel HTML. I’ve copied the HTML from the Bootstrap’s documentation from here. <div...
by S M Zahed Kamal | Jan 8, 2022 | Laravel, PHP
Laravel comes up with a paginator that generates HTML compatible with the Tailwind CSS framework. But Laravel allows you to apply custom pagination HTML structure. So, if you want to use your own pagination’s HTML structure and styles, you can do it by creating...
by S M Zahed Kamal | Jan 5, 2022 | Bootstrap, CSS
Bootstrap introduced their icons collection in November 2019 as Bootstrap Icons (v1.0.0-alpha). At that time, they had only 213 icons. As of January 2022, they’ve 1500+ icons in their library. You can use Bootstrap Icons with or without Bootstrap in any project....
by S M Zahed Kamal | Dec 18, 2021 | Javascript
To create autocomplete feature for input field(s), HTML’s datalist tag can be the easiest solution. But it has limited styling and also some browser support issues. So, let’s create our own stylish autocomplete using vanilla JavaScript and Bootstrap for...
by S M Zahed Kamal | Dec 6, 2021 | Javascript
Gulp is a toolkit to automate & enhance our workflow. Most of the time, I use gulp for my SASS projects. In this article, I’ll show you how to use gulp to automate SASS to CSS compilation. First, let’s create a folder named sass and then initialize npm...
by S M Zahed Kamal | Dec 6, 2021 | Javascript, Node.js
When you install a node.js package, you get the latest version. But, what if you need to get the latest version of the packages in an old project? Let me show you how I do it Imagine, Below is what we’ve in the package.json of a project – {...
by S M Zahed Kamal | Dec 4, 2021 | How To, Laravel
Imagine you want to define some variables that can be accessed from anywhere in your laravel project. To achieve that, the best way will be to take advantage of laravel’s configuration file. Creating a Configuration File First, you need to create a file inside...
by S M Zahed Kamal | Jul 22, 2021 | How To, Laravel
Laravel has its own command-line interface named Artisan. It has a list of useful commands. You’ll need to use artisan commands when building an application. You may get into situations when you’ll have no access to SSH. In such situations, you might want...