How to Check if element has class in JavaScript

CSS classes are very helpful when need to add same style on multiple HTML elements. However, classes are not limited to styling alone; they also enable us to perform various actions based on the presence or absence on an element.

In this tutorial, I show how you can check specific class on single or multiple elements using JavaScript with examples.

How to Check if element has class in JavaScript

Read more

How to Send GET and POST cURL request in CodeIgniter 4

The CURLRequest class that comes pre-installed in Codeigniter 4 makes it easy to send cURL request from the application.

It allows you to make requests via GET, POST, PUT, and other methods on various endpoints.

With this blog post, you will be able to understand about sending cURL GET and POST request using CURLRequest Class in CodeIgniter 4 and implement it in your project.

How to Send GET and POST cURL request in CodeIgniter 4

Read more

Setup Bootstrap auth Login and Registration in Laravel 9

Have you ever built a website or a web application that requires users to login and register to use its features? If so, you’ve probably realized how much work it can be to create your own authentication system from scratch.

Laravel already provided user authentication but it is not by default implemented on the project.

You need to manually run a few provided commands to set it up.

In this article, you will see how to implement Bootstrap auth Login and Registration in Laravel 9 applications.

Setup Bootstrap auth Login and Registration in Laravel 9

Read more