To add new elements you can use the following JavaScript functions: push() unshift(), concat() function or splice(). See examples.

In this snippet, you will find out how it is possible to add telephone links with HTML. See examples and try to add and style telephone links by yourself.

Read this JavaScript tutorial and learn about the best method of calculating the text width. Read about the advantages of the method over other methods.

This is a short snippet that explains how to check whether a number is odd or even in PHP. Check out the handy methods and examples of our tutorial.

Imagine a given number and you want to check whether it is prime or not with PHP. Here, we represent two methods: a simple method and a more efficient one.

In this tutorial, you will read and learn detailed information about the methods used for converting a float number to a whole number with lots of examples.

Read the tutorial and find several easy and fast approaches to converting a number to a string in JavaScript. Choose the best method for your workflow.

This snippet is dedicated to one of the common PHP issues: how to convert a string to a number. You can easily do that by following the options we provide.

Read this tutorial and find the easiest way of converting the decimal number to hexadecimal in JavaScript. Also, find information about the number systems.

Read this JavaScript tutorial and learn about the methods used to find the minimum and maximum number of elements in an array. Find the fastest solution.

Read this JavaScript tutorial and learn several methods used to find or calculate the sum of an array of numbers. Also, find which is the fastest one.

Read this JavaScript tutorial and learn useful information about several easy built-in methods that are used for formatting the number with two decimals.

In this JavaScript tutorial, you will find information about the formatting number to display with two decimals. Also, read about solving rounding issues.

This tutorial provides useful information about the formatting number as currency strings. Read and learn several methods you can use to solve your problem.

It is frequently necessary to generate a random number between two numbers while working with JavaScript. This snippet will help you to do it efficiently.

Almost all the developers come across the question: how to get a timestamp in JavaScript. This tutorial will help you find the most efficient methods to use.

Read this JavaScript tutorial and learn useful information about several easy and fast built-in methods that are used for removing the text from a string.

In this tutorial, you’ll learn which is the float input type in HTML5. Read our snippet and try some examples with the step value to see the solution to this problem.