Box shadow in CSS

If your goal is to make a visually pleasant website, then adding custom CSS shadows may be a great choice. It's a much better option than using images or backgrounds with shadow effects drawn in some graphical editor. The CSS code is rendered by the browser and is faster to load over the network. But …

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 …

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, …

How to import and export database in MySQL

As a web developer or a site owner, you may need to move the database from one server to another. There may be various reasons for that, for example, your intent is to make a backup, restore the site from last known good state, move a web application from development to production server, or any …

How to undo the last local commit in Git repository

The Git is a very popular version control system, it's widely adopted and almost every professional developer has to know how to use it correctly. Open source web applications and other types of software are very often stored on the public Git repositories, the enterprise and private projects also use this version control system. And, …

Remove specific item from an array in JavaScript

The JavaScript is a very powerful programming language and provides a great support for arrays. There are many different language constructs available that you can use to remove item from an array. This article contains description of only the most popular ways to modify an array, but you can extend and improve them to meet …

HTML button that acts like a link

If you are making some web application and you need to redirect user to another page, you can create a button that will act link a link. Regular <a href="#"> tag may not be suitable in some cases, for example, when you have complex logic or unusual content on a form. This article contains information …