Tutorials

File Size Validation

Submitted by alpha_luna on
A simple tutorial that can really help you in an easy way. In this article, we are going to tackle about File Size Validation. There are many ways to use a validation using other languages like PHP, checking the form elements if it is an empty or not. But now, we are going to validate the File Size after clicking the button upload. If the file size exceeding the size that we set our script will surely return an alert.

How To Check Highest And Lowest Numbers In PHP

Submitted by alpha_luna on
In this tutorial, we are going to learn on How To Check Highest And Lowest Numbers In PHP. You can create this simple program using PHP Language. This program can determine the highest number and the lowest number after the user input a given value on the box. Then, click the enter button to show the result.

How To Get The Difference Between Two Dates In PHP

Submitted by alpha_luna on

Good Day!!!

In this article, we are going to learn on How To Get The Difference Between Two Dates In PHP. In the PHP, to calculate the difference between two dates has many ways to do this. To get the difference of hours between two dates, we have to use the functions of datetime. We have the start date and end date to get their difference hour.

How To Get Average Of Five Numbers Using JavaScript

Submitted by alpha_luna on
In this tutorial, we are going to learn on How To Get Average Of Five Numbers Using JavaScript. AngularJS is a JavaScript framework. It can extend the HTML tag with the new attributes. It is perfect to use for SPAs or (Single Page Applications). Today, this is a simple program using AngularJS that the user will input the five (5) value numbers that our program will compute the average of five (5) numbers automatically.

Addition Of Four Numbers Using JavaScript

Submitted by alpha_luna on

Good Day!!!

In this tutorial, we are going to learn a simple program and this is called Addition Of Four Numbers Using JavaScript. Which have HTML Form Tag to have the sum of four numbers. We have four text box to input the number to be added, one for sum button, and one for the reset button to clear the input number that the user has a new value of the number to be added.

How To Create Simple Color Picker

Submitted by alpha_luna on
A color picker is a color tool or it’s a color application that usually found on the internet, which the users allows choosing the color that he/she want. In this tutorial, we are going to learn about on How To Create Simple Color Picker. In this example, we’re using CSS style to display the color board. By clicking the respective color in the board we are using jQuery CSS function to pick and apply the colors to the empty space.

HTML

This is HTML code for displaying color board to pick your color that you want.