Harshit Jindal

Harshit Jindal

About Harshit Jindal

Harshit Jindal has done his Bachelors in Computer Science Engineering(2021) from DTU. He has always been a problem solver and now turned that into his profession. Currently working at M365 Cloud Security team(Torus) on Cloud Security Services and Datacenter Buildout Automation.

howto · 2025-03-14

How to Get Current Year in JavaScript

This tutorial explains how to get the current year in JavaScript using various methods. Learn to utilize the Date object, Date.UTC, and popular libraries like Moment.js and Luxon for effective date handling. Whether you're a beginner or an experienced developer, this guide will enhance your skills in managing dates in JavaScript.

howto · 2025-03-14

How to Scroll to Top in JavaScript

This tutorial teaches how to scroll to the top of a webpage using JavaScript. Discover various methods, including window.scrollTo(), jQuery animations, and CSS techniques to enhance user experience. Ideal for developers of all levels, this guide provides clear code examples and detailed explanations to help you implement scrolling functionality effectively.

howto · 2025-03-13

How to Build A Stopwatch in JavaScript

This tutorial introduces how to build a stopwatch in JavaScript. Learn step-by-step how to create a functional stopwatch with HTML, CSS, and JavaScript. Discover essential programming concepts while building a practical tool that you can customize and enhance. Ideal for beginners and experienced developers alike, this guide provides clear code examples and explanations for each step.

howto · 2025-03-13

How to Remove CSS Class JavaScript

This tutorial teaches how to remove a CSS class from an element with JavaScript. Explore various methods including classList.remove(), setAttribute(), and jQuery's removeClass() to dynamically manipulate styles on your web pages. Learn best practices and enhance your web development skills with practical examples and clear explanations.

howto · 2025-03-13

JavaScript null vs undefined

This tutorial explores the differences between null and undefined in JavaScript. Learn how these two types function, their use cases, and practical examples. Gain clarity on when to use each term, enhancing your coding skills and improving your JavaScript understanding. Join us for a comprehensive guide to mastering null and undefined in JavaScript.

howto · 2025-03-11

C++ STL Binary Search

This tutorial demonstrates how to use the Binary Search Algorithm from the C++ Standard Template Library. Learn about the efficient implementation of `std::binary_search`, explore examples, and understand how to apply custom comparators for complex data types. Enhance your coding skills and improve data retrieval efficiency today!

howto · 2025-03-11

Nested for Loops JavaScript

This tutorial teaches the concept of nested loops in JavaScript, a crucial skill for developers. Learn how to implement nested for loops effectively, explore practical examples, and discover performance considerations. By the end of this guide, you'll be equipped to handle complex data structures with ease.

howto · 2025-03-11

Modulo Operator(%) in JavaScript

Learn how to use the modulo operator (%) in JavaScript with this comprehensive tutorial. Explore its applications, check for even or odd numbers, and discover practical examples to enhance your coding skills. Ideal for beginners and experienced developers looking to master this essential operator.

howto · 2025-03-11

JavaScript 2D Array

This tutorial introduces how to declare a two-dimensional array in JavaScript. Learn various methods such as using array literals, nested loops, and Array.from() to create and manage 2D arrays effectively. Whether you're a beginner or looking to enhance your skills, this guide offers clear examples and explanations to help you understand this essential concept in JavaScript.

howto · 2025-03-11

How to Exit JavaScript Function

This tutorial introduces how to exit early from a function in JavaScript. Learn effective methods such as using return statements, exceptions, and control flow statements to manage function execution. Improve your code efficiency and readability with practical examples and clear explanations.

howto · 2025-03-11

How to Enable/Disable Input Button Using JavaScript

This tutorial teaches how to enable and disable an HTML input button using JavaScript and jQuery. Discover practical examples and clear explanations to enhance your web development skills. Whether you're validating forms or controlling user interactions, this guide covers everything you need to know to implement button state management effectively.

howto · 2025-03-11

How to Declare Global Variables in JavaScript

This tutorial introduces how to declare global variables in JavaScript, explaining various methods including using var, let, and const. Learn the implications of global variables and best practices for maintaining clean code. Discover strategies to minimize their use and enhance your JavaScript skills.

howto · 2025-03-11

Exponents in JavaScript

This tutorial teaches how to get the exponents of a number in JavaScript. Learn various methods, including Math.pow(), the exponentiation operator, and custom functions. Enhance your coding skills and tackle mathematical problems effectively with this comprehensive guide.

howto · 2025-03-11

How to Round a Number to 2 Decimal Places in JavaScript

This tutorial teaches how to round a number to at most 2 decimal places in JavaScript. Discover simple methods like toFixed() and Math.round() to achieve accurate rounding. Ideal for beginners and experienced developers, this guide offers clear examples and explanations to enhance your coding skills.

howto · 2025-03-11

How to Write a Multiline String in JavaScript

This tutorial introduces how to write a multiline string in JavaScript. Learn about template literals, string concatenation, and escape characters to efficiently manage multiline strings in your code. Whether you're a beginner or an experienced developer, this guide will enhance your coding skills and improve readability. Discover the best methods to create multiline strings and choose the right one for your projects.

howto · 2025-03-11

JavaScript DOM Ready

This tutorial teaches how to call a function when the DOM is ready in JavaScript. Learn various methods including vanilla JavaScript, jQuery, and the window load event to ensure your code runs smoothly. Enhance your web development skills and avoid common pitfalls by understanding the importance of the DOM ready state.

howto · 2025-03-11

JavaScript POST

This tutorial teaches how to send POST data without using a form in JavaScript. Learn to use the fetch API and XMLHttpRequest to send data efficiently to servers, enhancing your web applications' interactivity. Explore practical examples and clear explanations to master JavaScript POST requests today.

howto · 2025-03-11

How to Sort HTML Table in JavaScript

This tutorial introduces how to sort HTML tables using JavaScript. Learn effective methods to implement sorting functionality in your web projects, enhancing user experience and data organization. Explore practical examples and step-by-step instructions to get started quickly.

howto · 2025-03-11

JavaScript String Encryption and Decryption

This tutorial covers JavaScript string encryption and decryption techniques. Learn how to use libraries like CryptoJS and the Web Crypto API to secure your data effectively. Explore practical examples and improve your skills in protecting sensitive information in web applications.

howto · 2025-03-11

How to Append Data to Div in JavaScript

This tutorial introduces how to append data to a div using JavaScript. Learn various methods including innerHTML, createElement, and insertAdjacentHTML to effectively manipulate the DOM and enhance your web applications. Discover practical examples and best practices for optimal performance and security.

howto · 2025-03-11

JavaScript Ternary Conditional Operator

This tutorial teaches how to use the conditional operator in JavaScript, a powerful tool for writing concise and efficient code. Learn how to implement the ternary operator, explore examples, and discover best practices to enhance your programming skills. Whether you're a beginner or an experienced developer, this guide will help you master the JavaScript ternary conditional operator for cleaner code.

howto · 2025-03-11

How to Preload Image in JavaScript

Learn how to preload images in JavaScript with this comprehensive tutorial. Discover effective techniques using the Image object, Promises, and CSS to enhance your website's performance and user experience. Ideal for developers of all levels, this guide provides clear code examples and detailed explanations to ensure your images load smoothly and efficiently.

howto · 2025-03-11

How to Convert Character Code to ASCII Code in JavaScript

This tutorial teaches how to convert character code to ASCII code in JavaScript. Learn the methods using charCodeAt() and String.fromCharCode() to efficiently handle character conversions. Explore practical examples and enhance your JavaScript skills with clear explanations.

howto · 2025-03-11

JavaScript === vs ==

This tutorial teaches when to use which equal operator (== or ===) in JavaScript. Learn the differences between loose and strict equality, explore clear examples, and understand the best practices for writing reliable code. Master JavaScript comparisons today!

howto · 2025-03-11

How to Split String Into Array in JavaScript

This tutorial teaches how to split a string into an array in JavaScript. Learn about the split() method, regular expressions, and how to handle edge cases. Enhance your string manipulation skills with practical examples and clear explanations.

howto · 2025-03-11

How to Remove Event Listener in JavaScript

This tutorial teaches how to remove an event listener in JavaScript. Learn the importance of managing event listeners, the `removeEventListener` method, and best practices for efficient event management in your web applications. Discover techniques like event delegation and avoid common pitfalls with anonymous functions.

howto · 2025-03-11

How to Get HTML From URL in JavaScript

This tutorial teaches how to get HTML code using JavaScript with a URL. Explore methods like Fetch API, XMLHttpRequest, and jQuery to retrieve HTML content effectively. Learn through clear examples and explanations to enhance your web development skills.

howto · 2025-03-11

isPrime in JavaScript

This tutorial introduces how to check if a number is prime in JavaScript. Learn various methods, including basic loops, optimized checks, and the Sieve of Eratosthenes, to enhance your coding skills. Explore clear examples and explanations to effectively determine prime numbers in your JavaScript applications.

howto · 2025-03-11

How to Remove Element by Id in JavaScript

Learn how to remove an HTML element by its ID in JavaScript with this comprehensive tutorial. Explore various methods, including using document.getElementById and parentNode.removeChild. Each method is explained with clear examples and practical applications, making it easy for you to manipulate the DOM effectively. Whether you are a beginner or an experienced developer, this guide will enhance your web development skills.

howto · 2025-03-11

How to Convert Object to Array in JavaScript

This tutorial teaches how to convert an object to an array of key-value pairs in JavaScript. Discover various methods such as Object.entries(), Object.keys(), and Array.from() to achieve this conversion effortlessly. Enhance your coding skills and learn how to manipulate data effectively in your projects with our comprehensive guide.

howto · 2025-03-11

C# Capitalize First Letter

This tutorial teaches how to capitalize the first letter of a string in C

howto · 2025-03-11

C# If-Else Short Hand

This tutorial teaches you about the if-else shorthand in C

howto · 2025-03-11

How to Split String by String in C#

This tutorial teaches how to split a string by using another string in C

howto · 2025-03-04

Python Binary Search

This tutorial demonstrates how to use the Binary Search Algorithm in Python, offering a step-by-step guide to implementing this efficient search technique. Learn the advantages, practical examples, and understand how binary search can optimize your applications. Whether you're a beginner or an experienced developer, this comprehensive guide will enhance your programming skills and improve search operations in sorted datasets.

howto · 2025-03-04

How to Sum of an Array in JavaScript

This tutorial teaches how to get the sum of an array of numbers in JavaScript. Explore various methods, including for loops, reduce, and forEach. Learn to sum arrays effectively and improve your coding skills with practical examples and clear explanations. Perfect for beginners and experienced developers alike.

howto · 2025-03-04

How to Get URL Parameters in JavaScript

This tutorial teaches how to get URL parameters in JavaScript. Learn various methods including using URL and URLSearchParams, regular expressions, and libraries like query-string to efficiently extract and manipulate URL parameters for your web applications. Explore clear examples and enhance your coding skills today!

howto · 2025-03-04

How to Create and Save File in JavaScript

This tutorial teaches how to create and save files in JavaScript using various methods. Learn to create text, JSON, and more with practical examples and clear explanations. Enhance your web applications by mastering file handling techniques today!

howto · 2025-03-04

How to Write New Line in JavaScript

This tutorial teaches how to write a new line in JavaScript. Explore various methods, including escape sequences, template literals, HTML line breaks, and CSS for spacing. With practical examples and clear explanations, enhance your JavaScript skills and improve text readability in your web applications. Learn how to create new lines effectively in your projects today!

howto · 2025-03-04

C# List Index

This comprehensive tutorial on C

howto · 2025-02-26

Linear Search in Python

This tutorial introduces the Linear Search Algorithm implemented in Python. Learn how to efficiently search for elements in lists using various methods, including basic linear search, early exit strategies, and counting occurrences. Perfect for beginners and those looking to enhance their Python skills, this guide provides clear code examples and detailed explanations to help you master linear search.

howto · 2025-02-26

How to Simulate a Struct in JavaScript

This tutorial teaches you how to simulate a struct in JavaScript using objects, classes, and factory functions. Discover practical examples and clear explanations to enhance your coding skills. Perfect for beginners and experienced developers alike, this guide will help you manage data more effectively in your JavaScript applications.

howto · 2025-02-26

How to Generate Random Number in a Specified Range in JavaScript

This tutorial introduces how to generate random numbers inside a specified range in JavaScript. Learn to use the Math.random() function to create both integers and floating-point numbers, enhancing your applications with dynamic randomness. Discover practical examples and clear explanations to master this essential programming skill.

howto · 2025-02-26

How to Check if a Variable Is Not Null in JavaScript

This tutorial teaches how to check if a variable is not null in JavaScript. Explore various methods such as using strict and loose equality operators, the logical NOT operator, and the typeof operator. Learn to write robust code that prevents unexpected errors and enhances your programming skills.

howto · 2025-02-26

Bubble Sort in JavaScript

Learn how to implement Bubble Sort in JavaScript with this comprehensive tutorial. Explore both basic and optimized versions of the algorithm, understand its mechanics, and see practical code examples. Perfect for beginners looking to grasp sorting techniques.

howto · 2025-02-26

How to Check if a Variable Is Undefined in JavaScript

This tutorial introduces how to check if a variable is undefined in JavaScript. Learn various methods including the typeof operator, direct comparison, void operator, and optional chaining. Enhance your coding skills and ensure robust applications by mastering these techniques.

howto · 2025-02-26

How to Add Properties to JavaScript Object

This tutorial teaches you how to add properties to JavaScript objects using various methods, including dot notation, bracket notation, and Object.assign(). Enhance your coding skills and learn how to manipulate objects effectively in JavaScript. Perfect for beginners and experienced developers alike.

tutorial · 2024-02-15

Binary Tree Traversal

This tutorial introduces the tree traversals inorder, preorder and postorder on Binary Tree.

tutorial · 2024-02-15

Convert Binary Tree to Binary Search Tree

This tutorial teaches how to convert a Binary Tree to a Binary Search Tree.

tutorial · 2024-02-15

Linked List Reversal

This tutorial introduces how to reverse a Linked List.

tutorial · 2024-02-15

Linked List

This tutorial introduces the data structure Linked List.

tutorial · 2024-02-15

Linked List Insertion

This tutorial introduces how to insert elements in a Linked List.

tutorial · 2024-02-15

Linked List Deletion

This tutorial introduces how to remove elements from a Linked List.

howto · 2024-02-15

C# Private Set

In this article, we will look into the intricacies of C# private set, exploring its syntax, use cases, advantages, and potential pitfalls.

howto · 2024-02-12

C# Convert Int to Char

This tutorial teaches how to cast int to char in C#.

howto · 2024-02-02

Binary Search Interactive and Recursive in Java

This tutorial demonstrates how to use the Binary Search Algorithm.

howto · 2024-02-02

How to Format Number With Commas in JavaScript

This tutorial teaches how to print a number with commas in JavaScript.

howto · 2024-02-02

How to Loop Through an Array in JavaScript

This tutorial introduces how to loop through an array in JavaScript.

howto · 2024-02-02

How to Format a JavaScript Date

This tutorial introduces how to format a JavaScript date.

howto · 2024-02-02

How to Check if a String Contains Substring in JavaScript

This tutorial teaches how to check if a given substring is present inside a string in JavaScript

howto · 2024-02-02

How to Play Audio Files in JavaScript

This tutorial teaches how to play audio files using JavaScript?

howto · 2024-02-02

How to Download a File Using JavaScript

This tutorial teaches how to download a file using JavaScript

howto · 2024-02-02

How to Append Elements in an Array in JavaScript

This tutorial teaches how append elements in an array in JavaScript

howto · 2024-02-02

How to Deep Clone an Object in JavaScript

This tutorial introduces how to deep clone an object in JavaScript.

howto · 2024-02-02

How to Submit Form Using JavaScript

This tutorial teaches how to submit a form using JavaScript

howto · 2024-02-02

How to Format a Number as a Currency String in JavaScript

This tutorial teaches how to format a number as a currency string in JavaScript.

howto · 2024-02-02

How to Remove Index From Array in JavaScript

This tutorial teaches how to remove a specific element from an array in JavaScript.

howto · 2024-02-02

How to Hide/Show Elements in JavaScript

This tutorial introduces how to hide/show an HTML element in JavaScript.

howto · 2024-02-02

How to Initialize JavaScript Date to a Particular Time Zone

This tutorial teaches how to initialize JavaScript date to a particular time zone.

howto · 2024-02-02

How to Remove Last Character From String in JavaScript

This tutorial teaches how to remove the last character from a JavaScript string.

howto · 2024-02-02

How to Get Current Date Time in JavaScript

This tutorial teaches how to get the current date in JavaScript.

howto · 2024-02-02

How to Calculate MD5 Hash From a String in C#

This tutorial teaches how to calculate MD5 hash from a string in C#.

howto · 2023-12-14

Key-Value Pair List in C#

In this tutorial, we will learn about the properties of Key-Value pairs in C# and see how to create a key-value pair list.

howto · 2023-12-14

C# Macro Definitions in Preprocessor

This comprehensive guide explores C# preprocessor directives that offer similar functionalities as macros.

howto · 2023-12-12

C# Random Bool

This tutorial introduces the methods on how to generate a random boolean in C#.

tutorial · 2023-10-12

Bubble Sort

This tutorial introduces the bubble sort algorithm.

tutorial · 2023-10-12

Quick Sort

This tutorial introduces the Quick Sort algorithm.

tutorial · 2023-10-12

Merge Sort

This tutorial introduces the Merge Sort algorithm.

tutorial · 2023-10-12

Insertion Sort

This tutorial introduces the insertion sort algorithm.

tutorial · 2023-10-12

Selection Sort

This tutorial introduces the selection sort algorithm.

tutorial · 2023-10-12

Radix Sort

This tutorial introduces the radix sort algorithm.

tutorial · 2023-10-12

Heap Sort

This tutorial introduces the heap sort algorithm.

tutorial · 2023-10-12

Counting Sort

This tutorial introduces the counting sort algorithm.

tutorial · 2023-10-12

Shell Sort

This tutorial introduces the shell sort algorithm.

tutorial · 2023-10-12

Pancake Sort

This tutorial introduces the pancake sort algorithm.

tutorial · 2023-10-12

Bucket Sort

This tutorial introduces the bucket sort algorithm.

tutorial · 2023-10-12

Bubble Sort Recursive

This tutorial demonstrates how to perform sorting on an array using the bubble sort recursive algorithm.

tutorial · 2023-10-12

Binary Sort

This tutorial introduces the binary sort algorithm.

tutorial · 2023-10-12

Tree Sort

This tutorial introduces the tree sort algorithm.

tutorial · 2023-10-12

Tim Sort

This tutorial introduces the tim sort algorithm.

tutorial · 2023-10-12

Comb Sort

This tutorial introduces the comb sort algorithm.

tutorial · 2023-10-12

Linear Search

This tutorial introduces the Linear Search Algorithm.

tutorial · 2023-10-12

Jump Search

This tutorial introduces the jump search algorithm.

tutorial · 2023-10-12

Interpolation Search

This tutorial introduces the Interpolation Search Algorithm.

tutorial · 2023-10-12

Binary Search

This tutorial introduces the Binary Search Algorithm.

tutorial · 2023-10-12

Fibonacci Search

This tutorial introduces the Fibonacci Search Algorithm.

tutorial · 2023-10-12

Exponential Search

This tutorial introduces the Exponential Search Algorithm.

tutorial · 2023-10-12

Binary Search Tree Iterative Insert

This tutorial introduces the iterative insertion in Binary Search Tree.

tutorial · 2023-10-12

Binary Search Tree Delete

This tutorial introduces the delete operation of the Binary Search Tree.

tutorial · 2023-10-12

Binary Search Tree

This tutorial introduces the data structure Binary Search Tree.

tutorial · 2023-10-12

Binary Search Tree Inorder Succesor

This tutorial introduces how to find the inorder successor of a node in BST.

tutorial · 2023-10-12

Binary Search Tree Check

How to check if the given binary tree is a binary search tree or not.

tutorial · 2023-10-12

Linked List Merge Sort

This tutorial tells us how to sort a Linked List using Merge Sort.

tutorial · 2023-10-12

Doubly Linked List

This tutorial introduces the data structure Doubly Linked List.

tutorial · 2023-10-12

Circular Doubly Linked List

This tutorial introduces the data structure Circular Doubly Linked List.

howto · 2023-10-12

Static Variables in JavaScript

This tutorial introduces static variables in JavaScript.

howto · 2023-10-10

Python Bisect - Binary Search

This tutorial demonstrates how to use Bisect library to perform binary search in Python.

tutorial · 2021-03-15

Circular Linked List

This tutorial introduces the data structure Circular Linked List.