Random Background Color using JavaScript

In this post, we will be writing a simple JavaScript function that will generate random color which we set as the background of webpage. Source Code : <body onclick="changeColor();"> </body> <script type="text/javascript">... Read more »

Random Quotes Generator using PHP API

The following source code demonstrates a simple PHP API to get random quote. We simply need to make a GET request to the API endpoint : https://api.quotable.io/random and we will get a... Read more »

Generate Random String using JavaScript

In this post, we will be writing a simple JavaScript function that will generate random string of desired length. We can generate a random string with fixed set of characters using simple... Read more »

Generate Random String using PHP

In this post, we will be writing a simple PHP function that will generate random string of desired length. We can generate a random string with fixed set of characters using simple... Read more »