How to access AppData Roaming Path

Just type % appdata% in the search bar of your windows explorer and hit Enter You will automatically get to roaming folder which actually resides in the hidden folder AppData like this: Next question in your mind would certainly be "What does roaming path actually contain?" the answer is simple. Roaming is a location where... Continue Reading →

MEAN Stack

What is Mean? Are you a web developer? Curious to know about Mean? Here you go! Well, MEAN stands for Mongo DB, Express, Anguar JS, Node.js. MEAN is an end-to-end JavaScript stack largely used for cloud-ready applications. The best thing about MEAN is that every part of MEAN uses the same language i.e. JavaScript so... Continue Reading →

jQuery CDN

CDN - abbreviation of Content Delivery Network is a system or network of computers that exist worldwide and cache files for users to access. Web developers all over the world can leverage the use of CDNs to host their jQuery Library for improved performance and faster access

jquery callback()

As we know that JavaScript statements are executed line by line. But, if the effects are applied, the next line of code can be run even before the finishing of the current effect which can create errors. For this reason, we use callback functions. A callback function is executed after finishing of the current effect... Continue Reading →

jquery animate()

Among several effects, there also exists animation in jquery. Yes, we can also animate a jquery element such as a div or button using the animate() method. Syntax $(selector).animate({params},speed,callback); Params is the required parameter and it defines the CSS properties to be animated. properties may include left,right, opacity and many others Speed and callback are... Continue Reading →

jquery .each()

.each() iterates for each matched element. Syntax $(selector).each(function(index,element)) For example, in the following piece of code, on the click of button, text of each list item will be displayed jquery Example $("button").click(function(){ $("li").each(function(){ alert($(this).text()) }); });

Function to reverse a Number in C#

C# Code using System; namespace ReverseNumber { class Program { static void Main(string[] args) { Console.WriteLine("Enter a Number to reverse"); int Number = int.Parse(Console.ReadLine()); int Reverse = 0; while(Number>0) { int remainder = Number % 10; Reverse = (Reverse * 10) + remainder; Number = Number / 10; } Console.WriteLine("Reverse No. is {0}",Reverse); Console.ReadLine(); }... Continue Reading →

Function to reverse a string in C#

C# Code using System; namespace reverseString { class Program { static void Main(string[] args) { string strng = "", reverse = ""; int Length = 0; Console.WriteLine("Please Enter a Word"); strng = Console.ReadLine(); Length = strng.Length - 1; while(Length>=0) { reverse = reverse + strng[Length]; Length--; } Console.WriteLine("Reversed word is {0}",reverse); Console.ReadLine(); } } }

Reference vs Pointer

Differences POINTERREFERENCEIs a variable that holds memory address of another variable. // int *ptr = &i; Is an alias i.e. another name for an already existing variable. // int &ref = i; Can point nowhere e.g. NULLMust refer to an objectCan be re-assigned any number of times Cannot be re-assigned after binding Can take the... Continue Reading →

Function to validate email in javascript

This regular expression will not verify if the particular email id exists or not. Instead, this regex is to validate the format of email id In jquery var ValidateEmail= function (email) { var regexp = new RegExp('^[^\s@]+@[^\s@]+\.[^\s@]+$'); var check = $(email).val(); if (!regexp.test(check)) { alert('Invalid e-mail!Please enter the e-mail ID in correct format'); $('#EmailID').css('border-color', 'red');... Continue Reading →

Create a free website or blog at

Up ↑

Create your website with
Get started