Create Files in Node.js File System Module

In this tutorial, you will learn how to create files in Node.js file system and it is very simple. There are some built-in methods by which we can do so. So, follow the below methods in a step-by-step process. fs.appendFile():- This method will help us to create a file and appends some contents inside that … Read more

How To Read a file in Node JS

In this tutorial, you will learn how to read a file in Node JS. In order to do this, you have to include a built-in module of Node JS known as fs( File System) with the help of require() method as shown below var fs = require(“fs”);fs.readFile(“name of the file”,”encoding”,”function(err,data)) Please note that the readFile() … Read more

Linking An Email in HTML

Linking an email in HTML is a very easy and important feature of HTML. It opens the email-sending interfaces directly by clicking the hyperlink provided in HTML so that the user can directly send emails without going to email-sending platforms such as Gmail, Yahoo, etc. Also read, Text slideshow HTML with images using w3 CSS … Read more

Text slideshow HTML with images using w3 CSS and javascript

Hi friends, in this tutorial you will learn how to create a Text slideshow HTML with images using w3 CSS and javascript. This is a very simple slideshow I have made using custom CSS and w3 CSS. You will find a lot of tutorials on image sliders but it is very rare to find sliders … Read more

Google like scrolling using jquery for multiple images

In this tutorial, you will learn how to use Google like scrolling using jQuery for multiple images. Sometimes we need to scroll the gallery images horizontally one after another. We can do so with the help of HTML and CSS or by using various jQuery plugins available online. But here, I will discuss a g-scrolling … Read more

Javascript String Methods with example

In this tutorial, you will learn the javascript string methods with examples one by one as given below length:- This property returns the length of the given string which means it counts every character of the string and returns the total number of characters in the string. Example:- Output:- Below paragraph returns the length of … Read more

Generate Javascript Random Number between 1 and 10

Hi friends, in this tutorial you will learn how to generate javascript random number between 1 and 10 which means you have to return all the numbers except 10 which means zero to nine. In order to generate random numbers, you should have the idea of two javascript functions as mentioned below Math.random() Math.floor() Math.random( … Read more