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

Teach Developer

Articles, Guides & Tips

Tag: Javascript

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

How to Add Reset Button in jQuery UI Datepicker

Posted on September 3, 2022September 17, 2022

I am using the jQuery UI date picker plugin to add the date picker dialog to the text input field. Since the input field is a read-only element, it is not allowed to clear the selected date. Is there any option to add a reset button in the date picker to clear the date from…

Read More “How to Add Reset Button in jQuery UI Datepicker” »

How to, Jquery

How to fix getFullyear() is not a function with JavaScript?

Posted on August 21, 2022September 17, 2022

Sometimes, we want to fix getFullyear() is not a function with JavaScript. In this article, we’ll look at how to fix getFullyear() is not a function with JavaScript. To fix getFullyear() is not a function with JavaScript, we should be called getFullYear instead. For instance, we write to call start.getFullYear to return the 4-digit year number of the start date. Conclusion…

Read More “How to fix getFullyear() is not a function with JavaScript?” »

How to, JavaScript

Best JavaScript Minifying Tools

Posted on August 16, 2022August 16, 2022 No Comments on Best JavaScript Minifying Tools

Several JavaScript minification technologies are used by developers to reduce code size and improve performance. Each developer, on the other hand, has their own preferences and uses a different tool. There are a lot of JavaScript minification tools out there, and each one has its own set of advantages and disadvantages, so you’ll have to…

Read More “Best JavaScript Minifying Tools” »

JavaScript, Node js

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

Destructuring Assignment in ES6- Arrays

Posted on August 6, 2022August 6, 2022 No Comments on Destructuring Assignment in ES6- Arrays

Destructuring assignment is a nice feature that comes with ES6. Destructuring is a JavaScript expression that makes it possible to unpack values from an array or properties from an object into separate variables. That is, we can extract data from arrays and objects and assign it to variables. Why is this necessary? Imagine if we…

Read More “Destructuring Assignment in ES6- Arrays” »

JavaScript, React

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 use the Local Storage in Javascript

Posted on July 26, 2022July 26, 2022 No Comments on How to use the Local Storage in Javascript

This article discusses what local storage is and the JavaScript methods that we can use to manipulate it. What is Local Storage? Local storage is a web storage object that is available in a user’s browser. It allows JavaScript browsers to store and access data right in the browser. Basic CRUD operations (create, read, update…

Read More “How to use the Local Storage in Javascript” »

JavaScript, Jquery

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 use setTimeout and setInterval methods in JavaScript

Posted on July 24, 2022July 24, 2022 No Comments on How to use setTimeout and setInterval methods in JavaScript

There are times when you don’t want to execute a function immediately. You want it to delay its execution or run repeatedly after a certain time interval. JavaScript provides us with two methods to achieve that: setTimeout and setInterval. In this article, we will discuss these two methods and how we can use them to…

Read More “How to use setTimeout and setInterval methods in JavaScript” »

JavaScript

Difference between var, let, and const in JavaScript

Posted on July 14, 2022July 24, 2022 No Comments on Difference between var, let, and const in JavaScript

A lot of shiny new features came out with ES2015 (ES6). And now, since it’s 2020, it’s assumed that a lot of JavaScript developers have become familiar with and have started using these features. While this assumption might be partially true, it’s still possible that some of these features remain a mystery to some devs….

Read More “Difference between var, let, and const in JavaScript” »

JavaScript, Jquery, 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 Search Recently Modified Files in Linux
ES6 classes
How to split a string into an array with Twig
How do sum values from an array of key-value pairs in JavaScript?
How to change the link color of the current page with CSS?

Quick Navigation

  • About
  • Contact
  • Privacy Policy

© Teach Developer 2021. All rights reserved