All About Code

All you need to get inspired! Take a look at my blog, check your knowledge about some programming topics, and learn new things in depth with images and diagrams.

idea schema

Grasp any Idea

I always try to understand abstract ideas using visual imagery. I hope you’ll enjoy my way of acquiring unique skills.

concepts

Bring Concepts to Life

Unite theory and practice and use your knowledge to develop new inspiring concepts.

connections

Connect Things

Everyone is familiar with the feeling of satisfaction when things get ordered in their mind.

woman tea

Learning as a Hobby

If you enjoy learning, you are in the right place. It opens up new exciting possibilities that give us the power to keep going further and encourage us to demonstrate our acquired abilities in real life. Education is the necessary fuel for our brain. It extends new paths, and we choose the direction.

get object keys js
JavaScript

How to Get the Keys of an Object in JavaScript

The article looks at the different ways to get the keys of an object in JavaScript. You will become intimately familiar with the necessary toolkit for extracting keys. It allows us to use varied techniques like Object.getOwnPropertyNames() and Object.keys() that make the solution of the task possible. In the sections below, we will analyze their drawbacks and advantages,…

Get Part Of String Methods In JavaScript
JavaScript

Get Part of String JavaScript

In this article, we’ll look at different ways to get part of a string in JavaScript. substring(startIndex, endIndex) and slice(startIndex, endIndex) are the build-in methods we’ll use to get part of a string in JavaScript: Get part of a string in JavaScript by index As you can see in the above table, slice() and substring()…

Capitalize First Letter of Each Word in a string in JavaScript
JavaScript

Capitalize First Letter of Each Word in a String Javascript

In this article, we’ll look at how to capitalize the first letter of each word in a string in Javascript according to its characteristics. We’ll investigate different ways of approaching the task and how we can divide it to find the solution that best fits our needs. Related articles: Consider the peculiarities of the input…

Capitalize First Letter Javascript
JavaScript

Capitalize First Letter in JavaScript Make the First Letter of a String Uppercase

To capitalize the first letter of a string use the charAt() method to get the first character, save it in a new variable, then call toUpperCase() to capitalize it. Extract the other part of the string in another variable using the slice() method, then concatenate the new variables.

Find the smallest number in an array in JavaScript Math.min()
JavaScript

How to Find the Smallest Number in an Array in JavaScript

1. Find the Smallest Number in an Array in Javascript The shortest way to find the smallest number in an array in JavaScript is to use the built-in static method Math.min(). Math.min() returns the smallest of the numbers which it takes as input parameters. The arguments are given separated with commas, for example, Math.min(1, 2,…

Find the largest number in an array in JavaScript
JavaScript

How to Find the Largest Number in an Array in JavaScript

1. Find the Largest Number in an Array in Javascript The shortest way to find the largest number in an array in JavaScript is to use the built-in static method Math.max(). Math.max() returns the largest of the numbers which it takes as input parameters. The arguments are given separated with commas, for example, Math.max(1, 2,…

Disable a button in Angular - Use [disable] = "true"
Angular

Disable a Button in Angular | 2 Easy Examples

Set the disable property to true to disable a button in Angular <button [disable]=”true” …></button> Set the disable property to false to enable a button in Angular <button [disable]=”false” …></button> In this article, we’ll learn how to disable a button in Angular. We’ll create a simple To-Do List App with one component. The main requirements…