JavaScript : Download the validation Codes
This is the list of the validations discussed in our tutorials
You may download all the validation examples in a single zip file here. Alternatively, you may download those individually from the respective tutorial page.
- Checking for non-empty
- Checking for all letters
- Checking for all numbers
- Checking for floating numbers
- Checking for letters and numbers
- Checking string length
- Email Validation
- Date Validation
- A sample Registration Form
- Phone No. Validation
- Credit Card No. Validation
- Password Validation
- IP address Validation
Test your Programming skills with w3resource's quiz.
JavaScript: Tips of the Day
Returns the minimum of the given dates
Example:
const tips_minDate = dates => new Date(Math.min(...dates)); const array = [ new Date(2016, 4, 13), new Date(2018, 3, 12), new Date(2016, 0, 10), new Date(2017, 0, 9) ]; console.log(tips_minDate(array)); // 2016-01-08T22:00:00.000Z
Output:
"2016-01-09T18:30:00.000Z"
- Weekly Trends
- Java Basic Programming Exercises
- SQL Subqueries
- Adventureworks Database Exercises
- C# Sharp Basic Exercises
- SQL COUNT() with distinct
- JavaScript String Exercises
- JavaScript HTML Form Validation
- Java Collection Exercises
- SQL COUNT() function
- SQL Inner Join
- JavaScript functions Exercises
- Python Tutorial
- Python Array Exercises
- SQL Cross Join
- C# Sharp Array Exercises
We are closing our Disqus commenting system for some maintenanace issues. You may write to us at reach[at]yahoo[dot]com or visit us at Facebook