by S M Zahed Kamal | Dec 31, 2024 | How To, Javascript
To open the side panel by default in google Chrome extension, you can use the Side Panel API introduced in Chrome extensions. You’ll need to configure your extension to register the sidebar (side panel) and ensure it’s enabled automatically when the...
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 unnecessary key and 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...