How to create a branch in Git

If you are working in a team or making complicated projects, then it's very likely that you'll need to create branches on an ongoing basis. As a result, you should know which commands have to be used for that purpose. The GIT version control system contains all the functionality required for managing the branches. In …

How to create a new user in MySQL

In this article you will learn how to create a user in both MySQL and MariaDB databases. You may want to perform such a task when working directly with the server. It is worth mentioning that you need all the required access privileges. The instructions that are provided here require root access to the database …

How to send AJAX request in the WordPress

In this article we will talk about the AJAX technology, which allows developers to build dynamic web sites or applications. It's very popular and often used when making JavaScript code for the WordPress content management system. You may read the following information and see what are the benefits of this technology, why it makes sense …

How to change a CSS class in JavaScript

Regular web sites may only be styled with the help of plain CSS rules. But, if you are making a dynamic web site with some forms, windows, visual effects, or any other similar functionality, then you may need to modify CSS classes at runtime. Such a task is not complicated in JavaScript, there are many …

How to make a gradient in CSS

This article provides detailed information on how to create attractive CSS gradients for your web application. At the beginning, you will read specifications of the relevant CSS properties. Then, real world examples will be provided and you'll see what kind of effects can be done. In most cases, it's better to use gradients instead of …

How to create a WordPress site

As you know, WordPress is a very popular content management system. There are millions of sites using this platform either on demand as a service, or as an installable package on the hosting. It's not a coincidence that this system is so well known, the main factors that made it so popular are the simplicity, …

Responsive font size in CSS

More and more people are using mobile devices every year, tablet computers are also very popular. And this means that each web site should work properly on all applicable screen sizes. If you set the font size only for desktop view, then your pages may not look good on small devices. As a result, you …

How to get the current date and time in PHP

As you will notice in this article, it's very easy to work with the dates in the PHP. You may obtain both the server and request times in a single line of code and customize the date strings according to your needs by using the formatting options. To get the current local date or time, …

Loop through an array in JavaScript

This article will be very helpful if you are learning the JavaScript programming language and trying to write a custom code that manipulates or reads data in the Arrays. A very common case in web development is that you need to iterate over some items in the array and perform a desired action, for example, …