Let’s Code Better

  • React 17 Get Multiple Checkbox List Value – Dynamic Checkbox List Example

    Get the value of checked checkboxes list on change or submit event with an example;  In this tutorial, we will create a dynamic list of checkboxes that will fetch all checked checkboxes state using the onChange event. In the forms, sometimes we have a list of checkboxes from which, we want to get the selected…

    Read more: React 17 Get Multiple Checkbox List Value – Dynamic Checkbox List Example
  • Angular 12 Infinite Scroll Example – Auto Load Data on Reaching Bottom

    Adding Infinite scroll component in Angular application for example; In this Angular tutorial, we will learn how to add infinitely scroll content in Angular application. Infinite means, the data will keep on loading when a user reaches the bottom of the content. Infinite means, without any limit; In some situations, we have huge data to…

    Read more: Angular 12 Infinite Scroll Example – Auto Load Data on Reaching Bottom
  • React 17 Image Uploader Example with Preview and PHP Server

    React JS 17 Image upload component with preview example is going to be discussed in this tutorial; We will learn how to implement image uploader component with PHP backend to save image on the server using image URL in React JS application.

    Read more: React 17 Image Uploader Example with Preview and PHP Server
  • Slick Carousel Example using ngx-slick-carousel – Angular 12

    Slick Carousel using ngx-slick-carousel is going to be discussed in this guide; we’ll create a demo application and create an example of Slick Carousel and check its properties and methods available as a configuration.  Features of Slick Carousel in Angular Application Fully equipped carousel Easy to integrate using the exclusive ngx-slick-carousel package for Angular Responsive…

    Read more: Slick Carousel Example using ngx-slick-carousel – Angular 12
  • Angular 12 Range Slider Example – @angular-slider/NGX-slider Tutorial

    Angular range selection slider bar by dragging example tutorial; In this guide, we will discuss how to add Angular draggable range slider bar with to and from markers by using a popular npm package @angular-slider/ngx-slider. To implement a Range Slider in the Angular application, we have the ngx-slider library. It is very popular, fully customizable…

    Read more: Angular 12 Range Slider Example – @angular-slider/NGX-slider Tutorial
  • Angular 12 CRUD Example with Web API – HttpClient REST APIs

    Angular applications are data-centric, which needs to connect with a server to store and fetch data. In Angular, we achieve the server communication channel through the HttpClientModule API service. In this Angular tutorial, We’ll be discussing how to develop an Angular 12 application performing CRUD operations having Bootstrap 4 styles. CRUD is a combination of…

    Read more: Angular 12 CRUD Example with Web API – HttpClient REST APIs
  • React 17 Routing Example – Get URL Passed Parameters using Router

    Routing Tutorial on how to fetch URL Parameters passed into the routing path; In this tutorial, we will focus on router setup in React application and how to pass parameters then get them into the component; this is achieved by using react-router-dom. We pass parameters or values in the URL to pass data from one…

    Read more: React 17 Routing Example – Get URL Passed Parameters using Router
  • React 17 Select Dropdown Tutorial – Single or Multiple Selection | React-Select

    React Dropdown Select Component Tutorial by Example; In this guide, we will discuss how to add a Select box or Dropdown in React application by using the react-select library. Select Box or Dropdown is very common and mostly used HTML form control, But we can’t simply use the use of a native select control in…

    Read more: React 17 Select Dropdown Tutorial – Single or Multiple Selection | React-Select
  • Angular 12 Service Example – Http CRUD Operations

    In this Angular tutorial, we are going to discuss Angular Services.  In the Angular Service example tutorial, we will create a Service to perform CRUD (Create, Read, Update and Delete) operations using the HttpClient Angular service. Services help up managing functions and methods which can be consumed by other components or modules throughout the application.…

    Read more: Angular 12 Service Example – Http CRUD Operations
  • Angular 12 JavaScript Promise Example

    In this Angular tutorial, we will understand Promises and how Promises work. We will discuss how to use ES6 Javascript Promises properly in Angular applications with examples. Promises are TypeScript objects which are used to handle asynchronous operations in a program. A promise proves very helpful in managing single or multiple asynchronous operations like HTTPS…

    Read more: Angular 12 JavaScript Promise Example
  • Angular 12 Providers | useValue, useClass & useFactory Tutorial with Examples

    In this tutorial, we will learn about Providers. How to implement different types of providers like useValue, useClass and useFactory in Angular 12,11,10,9,8,7,6,5,4 application projects with practical and simple examples. Let’s start with Provider and what role exactly it plays in Dependency Injection. We can say Provider is the ‘How’ part of the DI Token…

    Read more: Angular 12 Providers | useValue, useClass & useFactory Tutorial with Examples
  • Angular 12/11/10 Promises Example with HTTP Rest API Calls

    In this Angular tutorial, we will discuss how to make HTTP calls in Angular applications using JavaScript Promises. JavaScript Promises As we know JavaScript is a synchronous single-threaded programming language. Each statement executes after the previous task is completed. But with the help of callback functions, we can make JavaScript an asynchronous language. A callback…

    Read more: Angular 12/11/10 Promises Example with HTTP Rest API Calls
  • Angular 2+ Service Providers and Limiting its Scopes

    In this Angular tutorial, we’ll learn about Providers. How we can limit the scope of Service Providers in Angular application which plays a crucial role in optimizing a large application.   [lwptoc] What is a Provider? A provider in Angular acts like an instruction for the Dependency Injection system, which directs on how to get…

    Read more: Angular 2+ Service Providers and Limiting its Scopes
  • Angular 12 Proxy Configuration to Handle CORS Issue

    In this Angular tutorial, we are going to learn how to handle the Cross-Origin Resource Sharing (CORS) issue in Angular applications when using API or resources accessed from another origin. We will manage the proxy configuration setting in the Angular application. What is CORS? Cross-origin resource sharing known as CORS is the management of communication…

    Read more: Angular 12 Proxy Configuration to Handle CORS Issue
  • Top and Trending VS Code Themes of 2023!

    Yes! Today we are going to explore the Top 10 coolest and most awesome Visual Studio Code Themes of 2023. Visual Studio Code is the love and heartbeat of many developers around the world! It has emerged as the best, quick, fully-featured, and cleanest out of the many options available. VS Code not only makes…

    Read more: Top and Trending VS Code Themes of 2023!
  • Top and Best VS Code Dark Themes 2023

    Feed your dark! Today you are going to see the ultimate, trending and darkest of Visual Studio Code Themes of 2023. The Dark is everywhere, from dress code to your screen, the more it’s dark, the more it’s cool. Visual Studio Code (VS Code) is the passion for geeks around the world! That helps in…

    Read more: Top and Best VS Code Dark Themes 2023
  • Top & Best Sublime Text 3/4 Light / Dark Themes 2023

    We are going to explore the top and best Sublime Text 3/4 themes of 2023. As you already know, Sublime Text is the first choice at hand for many developers around the world! After trying other options it became my personal choice due to its quick load and well-placed sections making it a more pleasing…

    Read more: Top & Best Sublime Text 3/4 Light / Dark Themes 2023
  • How to Add/ Create New Environments in Angular 12 Application

    Creating a new build environment in the Angular application tutorial; In this tutorial, you will learn how to add a new environment in the Angular application and updated scripts in the package.json file. In an Angular application, by default, we have a development and production environment file. Inside the environment folder at application root, you…

    Read more: How to Add/ Create New Environments in Angular 12 Application
  • Facebook Sign-In Login Button in Angular 12 Application

    Angular app with Facebook social login example; We will discuss how to add Facebook login in Angular application using the OAuth protocol. For quick and easy implementation, we will be using a widely used social login plugin named angularx-social-login. In the upcoming tutorial, you will learn how to add a Facebook social sign-in feature in…

    Read more: Facebook Sign-In Login Button in Angular 12 Application
  • Angular 12 Lazy Load Images Example – Speed Up with Loading Images on Scroll

    In this Angular tutorial, we’re going to discuss how to lazy load images only when it comes inside the viable area on the webpage. We’ll use the ng-lazyload-image package module in our Angular 12 application to enable the lazy-loaded feature on images.

    Read more: Angular 12 Lazy Load Images Example – Speed Up with Loading Images on Scroll
  • How to Quickly Check React App Version in npm or CMD

    In this tutorial, we are going to discuss different ways to quickly check the React App version locally and globally. We will also learn how to display the React App version on Runtime in the application itself. We can easily check the version of React app using various methods. Let’s discuss these ways one by…

    Read more: How to Quickly Check React App Version in npm or CMD
  • React Image Slider with Thumbnail Example – Using React-Image-Slider Tutorial

    Image slider with thumbnail navigator example in React js application; In this React 16+ tutorial, we will demonstrate the implementation of responsive image gallery with preview thumbnails. The image slider will slide images with animation effects and supporting a wide range of features.

    Read more: React Image Slider with Thumbnail Example – Using React-Image-Slider Tutorial
  • Angular 12- Add Pagination on Nearly Any Thing from Scratch!

    Other than Tables, Applications may have lists, cards, containers, elements etc, that are populated from a bulky data object. In this tutorial, you will learn How to add a paginator on nearly anything in the Angular application. To implement pagination, we will discuss two methods:

    Read more: Angular 12- Add Pagination on Nearly Any Thing from Scratch!
  • Generate Laravel Multipage PDF with Image, Padding, Table Data

    In this Laravel tutorial, we will discuss how to easily create a Multipage PDF document by using the DomPDF package. The PDF file will contain Images, Background Images, and Table data with padding around the content. We will walk through a detailed step-by-step tutorial on how we can generate the PDF file from HTML content…

    Read more: Generate Laravel Multipage PDF with Image, Padding, Table Data
  • How to Kill a Subprocess in Python

    While working in Python, there might be situations where you need to execute external programs or scripts during runtime. In such cases, you can use the subprocess module, which allows you to trigger new processes. In such situations, you may need to terminate or kill a subprocess due to various reasons, such as a subprocess…

    Read more: How to Kill a Subprocess in Python