Anjan Dutta
Hello,
Welcome to my blog! I am Anjan, a front-end developer from India. In my blog, I write about JavaScript and front-end programming articles to help other developers.
My Algorithm Journey in JavaScript
- Leet Code 704: Binary Search
- Leet Code 278: First Bad Version
- Leet Code 35: Search Insert Position
- Leet Code 977: Squares of a Sorted Array
- Leet Code 189: Rotate Array
- Leet Code 283: Move Zeroes
- Leet Code 167: Two Sum II - Input Array Is Sorted
- Leet Code 344: Reverse String
- Leet Code 557: Reverse Words in a String III
- Leet Code 876: Middle of the Linked List
HTML CSS
- Generate a QR Code in Javascript
- Create a custom select dropdown using HTML, CSS and JavaScript
- HTML RGB color codes and their names
- Quickly style a select option in CSS: Works under 5 mins
- Reusable Custom Select Element in JavaScript
- Styling checkbox input using html and css
- Styling radio button input using html and css
- Change parent element property on focus of child in CSS
- Create gradient colored text in CSS
- Create gradient colored background in CSS
- Position an element at the bottom of its container in CSS
- How to fit div height to 100% of the browser window
- Vertically and horizontally centre content inside a div
- How to create a animated rotating loader in html and css
JavaScript
- Create and Trigger Custom Event in Javascript
- Default Parameter In JavaScript: What and How
- Extract Data from Arrays and Objects in JavaScript
- Promise in JavaScript an introduction for beginners
- forEach in JavaScript : 3 helpful things to learn
- Array in JavaScript, Things Worth Remembering
- Function in Javascript a Complete Guide
- Objects in JavaScript, a beginners guide
- Execution Context in JavaScript
- Scope in JavaScript an introduction for beginners
- Multiple Conditions in JavaScript if Statement
- Closure in JavaScript a Complete Definition
- JavaScript iife - Immediately Invoked Function Expression
- Reduce in JavaScript
How to's
- How to get the value of text input field using JavaScript
- Explode or split a string in JavaScript
- How to compare dates in JavaScript
- Convert number to string in JavaScript
- Remove a character from string in JavaScript
- Add elements to an array in JavaScript
- How to check if a JavaScript object property is undefined
- How to open URL in a new tab using JavaScript
- How to check if a value is a number in JavaScript
- How to get the length of a string in JavaScript
- Remove the last character of a string in JavaScript
- How to get the current URL with JavaScript
- How to check if a JavaScript array is empty or not
- How to get index from a JSON object with value: JavaScript
- Convert a string to number in JavaScript
- 3 easy ways to convert string to date in JavaScript
- Switch on ranges and multiple conditions in JavaScript
- Sort array of objects in JavaScript
- Get length of object JavaScript
- Check if string contains substring JavaScript
- Remove a specific item from an array in JavaScript
- Comparing Equality Operator and Identity Operator in JavaScript
- Check if object is empty JavaScript
- Remove last element from an array in JavaScript
- Insert an item at a specific index of an array in JavaScript
- Replace all occurrences of a string in JavaScript
- Check if an array includes a value in JavaScript
- Remove space from string in JavaScript
- JavaScript loop through object
- How to remove an element from array in JavaScript
- JavaScript Deep Clone an Object
- Check if key exists in object JavaScript
- JavaScript merge objects
- JavaScript check if object has property
- JavaScript remove object property
- Capitalize first letter of every word in JavaScript
- How to run a function when the page is loaded in JavaScript
- How to do an email validation in JavaScript
- How to do phone number validation in JavaScript
- How to disable a button using JavaScript
- How to capitalize the first letter of any string in JavaScript
- How to uninstall NPM package
- What is the difference between npm install --save and --save-dev
- Back to top link using html and JavaScript
- How to check if DOM content is loaded in JavaScript
- How to test string palindrome in JavaScript
- How to reverse a string in JavaScript
- How to include JavaScript in HTML
- How to convert an Array to a String in JavaScript
- Sum of all array items in JavaScript
- Check if URL contains string in JavaScript
- How to store and retrieve object in locals torage JavaScript
- Get the last element of an array in JavaScript
- How to get the current year in JavaScript