Mohammad Zahed Kamal

PHP to remove unnecessary key and value pairs from any multi-dimensional array

Today I will share a snippet I've used in a project. Using that function, you can recursively remove key-value pairs…

2 years ago

Use vanilla JavaScript to make Ajax request

JavaScript AJAX (Asynchronous JavaScript and XML) is a technique that gives the ability to send and receive data asynchronously from…

2 years ago

Add animation to bootstrap carousel elements

By default, Bootstrap carousel has no way to add animations to carousel elements. Here I'm going to show you how…

2 years ago

Create custom pagination template in Laravel

Laravel comes up with a paginator that generates HTML compatible with the Tailwind CSS framework. But Laravel allows you to…

2 years ago

Add Bootstrap Icons in SASS or SCSS

Bootstrap introduced their icons collection in November 2019 as Bootstrap Icons (v1.0.0-alpha). At that time, they had only 213 icons.…

2 years ago

Create autocomplete using vanilla JavaScript

To create autocomplete feature for input field(s), HTML's datalist tag can be the easiest solution. But it has limited styling…

2 years ago

Use gulp to automate SASS to CSS compilation

Gulp is a toolkit to automate & enhance our workflow. Most of the time, I use gulp for my SASS…

2 years ago

Easily update Node.js dependencies to their latest version

When you install a node.js package, you get the latest version. But, what if you need to get the latest…

2 years ago

Define global variables in laravel

Imagine you want to define some variables that can be accessed from anywhere in your laravel project. To achieve that,…

2 years ago

Run laravel artisan commands without ssh access

Laravel has its own command-line interface named Artisan. It has a list of useful commands. You'll need to use artisan…

3 years ago