June 20th, 20241773Math.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...
June 19th, 2024414004
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...
June 19th, 202411874In 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...
June 19th, 202405807I 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...
June 19th, 202411511You 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...
June 19th, 20241805Minifying 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...
June 16th, 202401953Javascript is a powerful programming language that allows developers to create dynamic and interactive web applications. When it comes to declaring variables, developers...
June 16th, 202473617In JavaScript, we can use MediaDevices and the MediaDevices and MediaRecorder interfaces to record the user's screen.
The MediaDevices interface prompts users to...