Posts from JavaScript

How to sort array of numbers in JavaScript Easily

By Saruque Ahamed Mollick

Hello programmers, I am again here to show you how to sort an array of numbers in JavaScript easily. I know that using the sort method you can easily sort an array of strings. But .... Read More

How to count capital letters and small letters in JavaScript

By Saruque Ahamed Mollick

In this JavaScript tutorial, I will show you the best way to count capital letters in JavaScript and also count small letters in JavaScript. You can find different methods and idea.... Read More

How to find the Keycode in JavaScript ( Core JavaScript no jQuery )

By Saruque Ahamed Mollick

Hello, in this post I am going to show you how to find keycode in JavaScript. I will create a JavaScript function that will print the keycode of the pressed key. I will show you by.... Read More

How to Pause or Stop Audio After Few Seconds in JavaScript

By Saruque Ahamed Mollick

In the previous post, I have shown you How to set audio playing time to starting position in JavaScript and here I am again with another useful tutorial on how to pause audio aft.... Read More

How to set audio playing time to starting position in JavaScript

By Saruque Ahamed Mollick

In this post, I will show you an easy way to set audio playing time to starting position in JavaScript. This is very much interesting and moreover, this post gonna be very useful .... Read More

How to convert PHP array to JavaScript Array

By Saruque Ahamed Mollick

This post is one of my favourite posts on this site. Because I am gonna give you the solution that I personally went through. I was doing a project on Free Currency Converter PHP .... Read More

How to get the image height and width in JavaScript

By Saruque Ahamed Mollick

In this tutorial, you will learn how to get the size of an image using JavaScript. I said the size of an image, so this could be a little bit confusing. Don’t worry I am exp.... Read More

How To Change Background Color Every Seconds in JavaScript

By Saruque Ahamed Mollick

In this tutorial, I am going to show you a very cool thing you can do with JavaScript. All of us know about the background color of a webpage. We can change the background color as.... Read More