Skip to content
  • Homepage
  • HTML
  • CSS
  • Symfony
  • PHP
  • How to
  • Contact
  • Donate

Teach Developer

Articles, Guides & Tips

ES6 classes

Posted on July 28, 2022July 28, 2022 No Comments on ES6 classes

Prior to ES6, classes have been in use in Javascript. ES6 just comes with a clean, nice-looking syntax for defining classes. It’s good to note that JavaScript’s class is just a more convenient way of creating constructor functions, which are very different from traditional classes. In this article, we will focus on: How to define…

Read More “ES6 classes” »

JavaScript, Jquery, Node js, React, Tips

How to PHP Get Max Value From Array

Posted on September 18, 2022September 18, 2022

PHP gets the max/maximum/largest value from the array. This tutorial has the purpose to explain to you several easy ways to find or get the maximum or largest value from an array in PHP. Here, we will take e.g. PHP gets the maximum value in an array, get the largest number in the array PHP…

Read More “How to PHP Get Max Value From Array” »

How to, PHP, Tips

WordPress Installation Steps

Posted on August 2, 2022August 2, 2022 No Comments on WordPress Installation Steps

WordPress is the widely used CMS for creating blogs. Installing WordPress is a very easy and simple process. It will take too less time to complete the Installation. There are many providers in the market that make the one-step WordPress installation possible by clicking the installer tool. In this tutorial, we are going to see…

Read More “WordPress Installation Steps” »

Wordpress

Best Practical CSS Tips

Posted on August 4, 2022August 4, 2022 No Comments on Best Practical CSS Tips

1. First letter drop We can use :first-letter it to drop the first letter of the text. The:first-letter selector is used to specify the style of the first letter of an element, it only applies to block-level elements. The effect is as follows. See the Pen Untitled by TeachDeveloper (@TeachDeveloper) on CodePen. 2. Image text wrapping Shape-outside is…

Read More “Best Practical CSS Tips” »

Tips, CSS

How to Send Email from Localhost in PHP

Posted on September 18, 2022September 18, 2022

PHP sends email using the Inbuilt PHP MAIL() function. This tutorial shows you how you can send emails in PHP using the inbuilt PHP mail() function. If you work with PHP, you need to send emails to users like when the user registered with us, send a reset password link in the mail, if any…

Read More “How to Send Email from Localhost in PHP” »

How to, PHP, Tips

How to increase browser zoom level on page load with CSS?

Posted on August 17, 2022August 17, 2022 No Comments on How to increase browser zoom level on page load with CSS?

Sometimes, we want to increase the browser zoom level on page load with CSS. In this article, we’ll look at how to increase browser zoom level on page load with CSS. To increase browser zoom level on page load with CSS, we set the zoom property. For instance, we write to set zoom to 2 on the zoom class. Then the…

Read More “How to increase browser zoom level on page load with CSS?” »

CSS, How to, Tips

How to Search Recently Modified Files in Linux

Posted on September 3, 2022September 17, 2022

This post will help you to find recently modified files in Linux via the command line. The find command works with, defining duration in Minutes or Days. The minutes are defined with -mmin and the day’s value can be defined with -mtime You can also define the search criteria to find files modified within or before the specified…

Read More “How to Search Recently Modified Files in Linux” »

How to, Linux

How to check PHP version using the command line

Posted on August 26, 2022September 17, 2022

If you have access to the command line or terminal, then you can check your PHP version by running the php -v or php –version command. Here’s an example of the output: You can see that the command shows the PHP version as PHP 8.1.5. But sometimes you may not have access to the command line, or you may install…

Read More “How to check PHP version using the command line” »

How to, PHP, Tips

How to Install a WordPress Plugin for Beginners

Posted on August 2, 2022August 2, 2022 No Comments on How to Install a WordPress Plugin for Beginners

WordPress plugins are used to enable addon features to the web application developed in WordPress. Many features do not come with the WordPress core by default. So, if we need to extend the functionality of the WordPress application, then we need to use the plugins. There are many plugins available in the market for WordPress…

Read More “How to Install a WordPress Plugin for Beginners” »

Wordpress

Common Mistakes with Conditionals

Posted on March 14, 2022July 14, 2022 3 Comments on Common Mistakes with Conditionals

This article will go over some mistakes that are easy to make when writing more complex programs with conditional. Mistake 1: Not treating expressions as distinct:Let’s say we want to print something if your variable $num is equal to 1 or 2 or 3. Why doesn’t the following code work? $num = 5; if ($num === 1 || 2 || 3) {…

Read More “Common Mistakes with Conditionals” »

PHP

How to install Git on Linux

Posted on September 1, 2022September 17, 2022

Linux is a popular and as well as widely used operating system. The installation of Git on Linux is quite simpler when compared to other platforms. However, one has to use the right package manager for Linux distribution.We will proceed with this tutorial to see how to install and set up Git on various distributions…

Read More “How to install Git on Linux” »

How to, Linux

How to Deploy a React application on a cPanel

Posted on October 8, 2023October 8, 2023

post is about how to deploy React app in a sub-directory on cPanel. So, for this, you need a React Application setup and a cPanel ready for deployment. You can host React app on Firebase or any free hosting as well. That, I will cover in another post. React App cPanel/WHM Once, you are ready, let’s start…

Read More “How to Deploy a React application on a cPanel” »

How to, React, Top Tutorials

PHP 8: Constructor property promotion

Posted on September 19, 2022September 19, 2022

I’m very happy with the constructor property promotion RFC, it’s passed and will be added in PHP 8. You see, this feature reduces a lot of boilerplate code when constructing simple objects such as VOs and DTOs. In short: property promotion allows you to combine class fields, constructor definition, and variable assignments all into one syntax,…

Read More “PHP 8: Constructor property promotion” »

PHP

How to Object Destructuring in ES6

Posted on August 6, 2022August 6, 2022 No Comments on How to Object Destructuring in ES6

This is a follow-up article to my previous article on Array Destructuring. Except you have an idea of destructuring, you should read it. First, let’s see why object destructuring is needed. We want to extract data from the object and assign it to new variables. Before ES6, how would this happen? See how tedious it is…

Read More “How to Object Destructuring in ES6” »

How to, JavaScript, React

How to use :hover to modify the CSS of another class?

Posted on August 19, 2022August 21, 2022 No Comments on How to use :hover to modify the CSS of another class?

To use :hover to modify the CSS of another class, we can use it with another selector. For instance, we write to select the elements with the class wrapper in the elements with class item that we hovered on. We set its color and background-color for those elements.

CSS, How to

Git basics: The simple commands to begin with

Posted on August 17, 2022September 18, 2022 No Comments on Git basics: The simple commands to begin with

Git config command This command is used to configure settings accompanying your use of git on your local machine/computer. Here are the major settings and configurations executed with this command. You can configure these settings on a global or local level. NB:Your username and email should be the same as those on your GitHub or…

Read More “Git basics: The simple commands to begin with” »

Git, Tips

4 Methods to Search an Array

Posted on July 26, 2022July 26, 2022 No Comments on 4 Methods to Search an Array

There are different methods in JavaScript that you can use to search for an item in an array. The use of these methods depends on your specific use case. For instance, do you want to get all items in an array that meet a specific condition? Do you want to check if any item meets…

Read More “4 Methods to Search an Array” »

JavaScript, Jquery

How to clear your cache in npm

Posted on September 3, 2022September 17, 2022

If you ever get weird errors in npm like Please run npm cache clean you may need to clean or refresh your npm cache. To fix this, you can try running npm cache clean. Run: “npm cache verify” for npm version 5 and up However if you’re running npm v5 and above, npm is supposed to be self-healing,…

Read More “How to clear your cache in npm” »

How to, Node js, React, Vue

How to remove index.php from URL in CodeIgniter 4

Posted on July 21, 2022July 24, 2022 5 Comments on How to remove index.php from URL in CodeIgniter 4

CodeIgniter 4 projects, you’ll notice that the URL has an extra argument. It is index.php in your project URL. So, if you don’t want this extra dimension you can remove it. This will create a clean URL for your website. There are several ways to remove this index.php in CodeIgniter 4. You can create a…

Read More “How to remove index.php from URL in CodeIgniter 4” »

Codeigniter, HTML, PHP

Important most things you should know about JSX

Posted on July 31, 2022July 31, 2022 No Comments on Important most things you should know about JSX

What JSX is JSX is a syntax extension for JavaScript. Basically, it extends JavaScript so that constructs like HTML/XML can be used with JavaScript. It allows developers to use HTML syntax to compose JavaScript components. This makes it possible to have a clear and familiar syntax for defining DOM tree structures with attributes. Although it…

Read More “Important most things you should know about JSX” »

JavaScript, React

Categories

  • Codeigniter (3)
  • CSS (11)
  • eCommerce (1)
  • Framework (1)
  • Git (3)
  • How to (43)
  • HTML (5)
  • JavaScript (15)
  • Jquery (7)
  • Laravel (1)
  • Linux (4)
  • Magento-2 (1)
  • Node js (4)
  • Others (2)
  • PHP (11)
  • React (13)
  • Server (1)
  • SSH (3)
  • Symfony (6)
  • Tips (16)
  • Top Tutorials (10)
  • Ubuntu (3)
  • Vue (1)
  • Wordpress (7)

Latest Posts

  • What is SSH in Linux?
  • How to Delete Files in Ubuntu Command Line
  • How to Deploy a React application on a cPanel
  • How to use events listeners and Event Subscriber in Symfony
  • How to Convert PHP CSV to JSON

WEEKLY TAGS

AJAX (1) Codeigniter (1) Javascript (11) JQuery (1) PHP (16) Programming (1) React (3) Symfony (1)

Random Post

How to make a div always float on the screen in the top right corner with CSS?
How to use setTimeout and setInterval methods in JavaScript
How to use the Local Storage in Javascript
How to Deploy or Host your ReactJS App in cPanel
How to check the PHP version

Quick Navigation

  • About
  • Contact
  • Privacy Policy

© Teach Developer 2021. All rights reserved