November 17th, 202411968Javascript is a powerful programming language that allows developers to create dynamic and interactive web applications. When it comes to declaring variables, developers...
November 13th, 20241792Math.random() - generates a randon number between 0 and 1. You can multiply the number to get a number in a different range.
Math.floor(numberHere) - it would trim...
November 12th, 202421625
Show image before the upload is a requirement of every web application to give good user experience. We published a tutorial that doesn't work in all browsers so;...
November 12th, 2024514062
In this tutorial I will show you how to compress images before upload to server, usually we don't compress images and upload them directly to server and then compress...
November 12th, 202431894In PHP, there are a variety of ways in which you can sanitize the user input, depending on your needs. The htmlspecialchars function allows you to transform every...
November 12th, 202415827I have found a good mobile based swipe tab here and really loved it so now I am sharing it with you. Its very simple and very useful tutorial you can use these tabs in...
November 11th, 202411535You can use the date function to generate a date string of your desired format. As a second parameter, you can add a UNIX timestamp representing the date that you wish...
November 11th, 20240831Minifying your code makes it smaller in size which increases the website’s loading speed, which increases the ranking of the website in search engine and so on. There...