by S M Zahed Kamal | Jul 22, 2021 | How To, Javascript
Today I’m going to share another snippet for Chart.js, that you can use to put a watermark image or logo in charts. To do that, I’ll create a small plugin. I’ll register the plugin globally to apply it on all charts. Though, you can apply it on chart...
by S M Zahed Kamal | Jul 22, 2021 | How To, Javascript
I was working on a tool where I needed to show Chart.js chart as image. I’m going to share a snippet to show I achieved it. Chart.js have an afterRender() callback function which is called after a chart has been completely rendered, including the animation....
by S M Zahed Kamal | May 28, 2021 | How To, Javascript
List.js is a tiny vanilla JavaScript library that adds search, sort, filters, and flexibility to plain HTML lists, tables, or anything. I’m going to share a snippet below to show how to use List.js to create an interactive HTML table similar to what jQuery...
by S M Zahed Kamal | Apr 11, 2021 | Laravel, PHP
Sometimes we want to show random data from a table. Eg. Showing 10 random blog posts from 1000s of posts. Showing 10 random questions from 100s of questions in a Quiz. Showing 10 random phone numbers from millions of phone numbers. I’m going to share a few good...
by S M Zahed Kamal | Apr 5, 2021 | How To, Javascript
The Comma Separated Values, known as CSV file format is a very popular way to exchange data between applications. Now we gonna learn how to parse data from a CSV file and visualize the data in an HTML table. We’ll split it into 2 steps – Step 1 : Retrieve data...
by S M Zahed Kamal | Mar 28, 2021 | How To, Javascript
As we know a CSV file is a Comma Separated Values file that contains plain texts as a list of data. So, we gonna create a function that will take all data from an HTML table, separate all the td (table data/cell) or th (table header) with a comma and for every tr...
by S M Zahed Kamal | Feb 6, 2021 | How To, Javascript
Having a drag and drop zone for file uploads is a very common thing these days, and it’s very user friendly. So, Let’s create a drag & drop zone for input file element without any external libraries. But it will work on modern browsers only. First, we...
by S M Zahed Kamal | Aug 6, 2020 | Freelancer
Now these days it has become too tough to get work from Freelancer.com because of the amounts of fake projects being posted every day by fake employer accounts. So, I thought of sharing my experiences on how I identify and avoid fake projects and fake clients. For my...
by S M Zahed Kamal | Jul 20, 2020 | Freelancer
Since Freelancer.com stopped supporting Freelancer Debit Card (Payoneer MasterCard). So many freelancers having trouble withdrawing money. Also, Freelancer’s conversion rates are lower then Payoneer’s rate. For example – If Freelancer.com paying 1...