Five free tools to choose perfect colors for your website.

17 Comments

rainbow colors 300x225 Five free tools to choose perfect colors for your website.

Rainbow colors


Color coordination plays a big role in the look and feel of a website. An appealing color scheme is an important prerequisite for eye catching web design. Dull or very sharp colors or mismatch colors will not only look ugly it may overshadow other nice elements of your website. Choosing vibrant, harmonious colors that are pleasant to eyes enhance the aesthetics appeal of a website. Following is a list of online resources you can use to construct the color schemes for your next web design project.
More

article clipper vert Five free tools to choose perfect colors for your website.
 

Five best free iPhone applications for bloggers

7 Comments

iphone1 276x300 Five best free iPhone applications for bloggers

iPhone

Smart phones are a great tool for bloggers to blog even when they are away from their computers. Ever since iPhone was introduced mobile-blogging hit its stride. With a plethora of apps available for iPhone you can now easily post to your blog wherever you are. Although most iPhone apps have a modest price but if you search hard you can find some gems of applications even for free. Following are five free but excellent iPhone apps that are immensely valuable for the bloggers on the move.
More

article clipper vert Five best free iPhone applications for bloggers
 

How to determine smallest and largest number in Java

No Comments

numbers 300x141 How to determine smallest and largest number in Java

Numbers


A couple of weeks ago a reader asked me for a Java program to read command-line input from the user and then display the smallest value the user has entered. He wanted to use digit ’0′ to indicate that the user is done entering the data and not to include 0 in the list of numbers entered by the user. Here is the Java code to do this. Bonus: This program also determines the largest value entered by the user.
More

article clipper vert How to determine smallest and largest number in Java
 

Validate Zip code using JavaScript Regular expression

7 Comments

zipcode 300x199 Validate Zip code using JavaScript Regular expression

Zip Code

Continuing with my series of JavaScript regular expression today we will see how easy it is to validate zip code using regular expression in JavaScript. Previously we talked about validating email and Social Security number using JS regex.

In today’s post I’ll show you how to use JavaScript regular expression to validate zip code. Let me first show you the JS code.


function validateZipCode(elementValue){
    var zipCodePattern = /^\d{5}$|^\d{5}-\d{4}$/;
     return zipCodePattern.test(elementValue);
}

Explanation:

The argument to this method is the zip code you want to validate.

In the method body we define a variable (‘zipCodePattern’) and assign a regular expression to it.

ZipCode format: The regular expression for zip code is

More

article clipper vert Validate Zip code using JavaScript Regular expression
 

How to validate email, SSN, phone number in Java using Regular expressions.

38 Comments


email 300x225 How to validate email, SSN, phone number in Java using Regular expressions.

Email

Regular Expressions offer a concise and powerful search-and-replace mechanism.
They are patterns of characters used to perform search, extract or replace operations on the given text. Regular expressions can also be used to validate that the input conforms to a given format.

For example, we can use Regular Expression to check whether the user input is a valid Social Security number, a valid phone number or a valid email number, etc.
More

article clipper vert How to validate email, SSN, phone number in Java using Regular expressions.