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.

HTML CSS

  1. Create a custom select dropdown using HTML, CSS and Javascript
  2. HTML RGB color codes and their names
  3. Quickly style a select option in CSS: Works under 5 mins
  4. Reusable Custom Select Element in Javascript
  5. Styling checkbox input using html and css
  6. Styling radio button input using html and css
  7. Change parent element property on focus of child in CSS
  8. Create gradient colored text in CSS
  9. Create gradient colored background in CSS
  10. Position an element at the bottom of its container in CSS
  11. How to fit div height to 100% of the browser window
  12. Vertically and horizontally centre content inside a div
  13. How to create a animated rotating loader in html and css

Javascript

  1. Default Parameter In Javascript: What and How
  2. Extract Data from Arrays and Objects in JavaScript
  3. Promise in Javascript an introduction for beginners
  4. forEach in Javascript : 3 helpful things to learn
  5. Array in Javascript, Things Worth Remembering
  6. Different ways of writing a function in Javascript
  7. Objects in javascript, a beginners guide
  8. Execution Context in Javascript
  9. Scope in javascript an introduction for beginners
  10. Multiple Conditions in Javascript if Statement
  11. Closure in Javascript a Complete Definition
  12. Javascript iife - Immediately Invoked Function Expression

How to's

  1. How to get the value of text input field using JavaScript
  2. Explode or split a string in javascript
  3. How to compare dates in javascript
  4. Convert number to string in javascript
  5. Remove a character from string in javascript
  6. Add elements to an array in javascript
  7. How to check if a javascript object property is undefined
  8. How to open URL in a new tab using javascript
  9. How to check if a value is a number in javascript
  10. How to get the length of a string in javascript
  11. Remove the last character of a string in javascript
  12. How to get the current URL with javascript
  13. How to check if a javascript array is empty or not
  14. How to get index from a JSON object with value: javascript
  15. Convert a string to number in Javascript
  16. 3 easy ways to convert string to date in Javascript
  17. Switch on ranges and multiple conditions in javascript
  18. Sort array of objects in javascript
  19. Get length of object javascript
  20. Check if string contains substring javascript
  21. Remove a specific item from an array in javascript
  22. Comparing Equality Operator and Identity Operator in JavaScript
  23. Check if object is empty javascript
  24. Remove last element from an array in javascript
  25. Insert an item at a specific index of an array in Javascript
  26. Replace all occurrences of a string in Javascript
  27. Check if an array includes a value in Javascript
  28. Remove space from string in javascript
  29. Javascript loop through object
  30. How to remove an element from array in javascript
  31. Javascript Deep Clone an Object
  32. Check if key exists in object javascript
  33. Javascript merge objects
  34. Javascript check if object has property
  35. Javascript remove object property
  36. Capitalize first letter of every word in Javascript
  37. How to run a function when the page is loaded in JavaScript
  38. How to do an email validation in JavaScript
  39. How to do phone number validation in JavaScript
  40. How to disable a button using JavaScript
  41. How to capitalize the first letter of any string in Javascript
  42. How to uninstall NPM package
  43. What is the difference between npm install --save and --save-dev
  44. Back to top link using html and Javascript

Linux

  1. Copy files from one directory to another in Linux
  2. Move files from one directory to another in Linux

Random

  1. Work life balance
  2. Moved my blog from Wordpress to Serverless
  3. I am enjoying the AWS world
  4. I've setup CI/CD pipeline for my blog!