mobile menu trigger, icon

Blog

I write about Web Development, WordPress and Freelancing. But you may be not interested in all these topics. See the topics below that are interesting to you and you're curious to explore.

Background image size (full-width, responsive, full-screen, etc)

background images size css

In this post, I will show you a couple of examples based on the background-size property. After reading it, you’ll learn how to make a full-width background image, how to make it responsive for all devices, full-screen background on any screen, custom size, etc. Before you start, you can also check the live demo of the finished examples that you’re going to build. You’ll get all the code samples and all the source code that powers the live preview template. Let’s get started. Examples of background image size Throughout the examples, I am only using plain text/paragraphs but you can […]

Read More →

How to center align text vertically?

CSS vertically centered text

The text-align: center can make any text horizontally centered. But if you need to make the text vertically centered, you have to do it differently. In this post, I will show you how to center-align text vertically. Also, I will give you multiple examples & use cases. After reading this post, you’ll be able to vertically center align text from various directions. Last but not least, you’ll get all the code samples and GitHub repo. Before you dive in, check the live previews of the finished products that you’re going to build. Let’s get started. Examples of vertically center-aligned text […]

Read More →

How to Search Words on a Website in 3 Easy Ways

Search words on web page

If you are looking to find web pages that include specific words, this technique will help you to find them quickly. Also, this post will show you if a website or web page contains specific words or not. I will show you 3 easy ways to do it. Search words on a website using Google This method is very handy if you want to search words for the entire website. Google will search and find all the different URLs that contain your search terms. Here is the search technique rule: For example, you want to search for “travel news” on […]

Read More →

Why do most websites fail in the first year and give up?

Chart website success and failure

There are more than 1.88 billion websites in the world but most of them actually failed. More than 90% of new websites get zero traffic from organic search. Most website owners give up in the first year or leave the sites as they are. As a result, it’s a huge waste of their time, effort, and money. Because people spend their highest energy at the beginning of the website design and up to the end of the development process. After that, they wait to see the output in the next 3/4 weeks. Certainly, they receive nothing and end up with […]

Read More →

How many websites are there on the planet?

Total number of websites historical data with up to 2021

As of August 2021, there are over 1.88 billion websites on the internet. The first website was created in 1991. In the next year 1992, there were only 10 websites around the globe. The ratio (highly) increased in 1993 and there were 623 websites. In this post, I will give you all the numbers, statistics, and give you other related information. Graph from the start to 2021 Tim Berners-Lee created the first website on August 06, 1991. The name/URL of the world’s first website is http://info.cern.ch and it was made for the European Nuclear Research Agency (CERN). After 1993, there […]

Read More →

How to use the border in CSS?

Border in CSS example

The border in CSS outputs the border of an HTML element. It also defines the color, thickness, border style, etc. In this post, I will take you from the very basic to the deep level of borders. How to create a border? To create a border, you need to declare 3 mandatory things: I will discuss more on these (later in this post). See the following examples for more clarification: This element has a 1px solid black border from all sides. I have a 3px dotted green border at the bottom. This element has a 2px solid gray border with […]

Read More →

How to Reset WordPress Website to Default (including database)

Reset WordPress Infographics

If you want to start over and want a fresh WordPress installation on your existing website, you need to reset it. Especially, if you’re a developer then you may need to do it regularly for various websites. After resetting the website, it will look like a new installation of WordPress and you will lose all the content, database, and everything between. So I would recommend you take a backup before resetting everything. Just in case you need past information. Reset your website using “WP Reset” plugin There are a couple of ways you can reset any WordPress website. Also, there […]

Read More →

Best code editors for programming

Code editor

A text editor is a software that allows you to write code on your computer. Likewise, you need any one of them in order to open, read, edit, write code. There are other types of software that are also known as text editors but you can not use them to write code. Such as ‘Microsoft Word, Apple Pages, etc.’ Nor word processors allow you to save files with required extensions. Such as ‘.html, .css, .php, .js, etc.’ In programming, you can not use software or word processors other than a text editor. A “Text Editor” is also known as “Code […]

Read More →

How to Remove “Website Field” From the Comments (WordPress)

The first reason for spam comments is getting backlinks. Spammers use bots to make comments on hundreds of blogs quickly. They intend to put a link on the “Website Field” of the comment form. And this is why they try to make comments on your blog. So if you remove the “Website Field” from the comment form, it will discourage the spammers to comment on your posts because they will not get any backlinks from their comments. Write the following code in your “functions.php” file to remove the “Website Field” from the comment form: However, this will not block the […]

Read More →

How to disable comments on the WordPress website?

WordPress disable comments

WordPress does not give you a single checkbox to disable comments entirely. But still, you can disable comments entirely. To do that, navigate to “Settings » Discussion” and do the following two things: See the below screenshot for reference: And save your changes. These settings will disable comments on all of your WordPress posts, and even in old posts that have existing comments. However, if any posts have existing/older comments, you’ll still see those comments and you need to delete them manually. But if you want to keep them as they are, then you don’t need to do anything. For […]

Read More →