react

Learn to create a custom progress button in React Native and TypeScript

Learn how to create a custom progress button in React Native with example. We will use TypeScript in the example here.

Read
react

How to hide the keyboard on scrolling through a FlatList in React Native

Learn how to dismiss the keyboard automatically if user is scrolling through a FlatList in React native. This post will show you with one example program.

Read
react

3 ways to detect if Keyboard is opened or closed in React Native

Learn how to check if the keyboard is opened or closed in React Native for both Android and iOS. I will show you three ways in this post.

Read
react

How to hide the keyboard in React Native on tapping outside of TextInput

Learn how to hide the keyboard in React Native if user taps outside of a TextInput with example. This post will show how to use a ScrollView and how to use the Keyboard module.

Read
react

How to change the text size of TextInput in React Native

Learn to change the text size of TextInput component of React Native. We will create one react native project and change the font size of a given TextInput.

Read
python

How to remove the first occurrence of an item in a list in Python

Python program to remove the first occurrence of an item from a list. We will learn how to use the remove() method, pop() method and del operator with example for each.

Read
javascript

How to check if an object is an array or not in JavaScript

JavaScript program to find if an object is an array or not in two different ways. It will show how to use Array.isArray and instanceOf operator with examples.

Read
javascript

4 ways to add the digits of a number in JavaScript

JavaScript program to add the digits of a number in 4 different ways. This post will show how to add the number digits by using a while loop, for loop, by converting the number to string and with the reduce() function.

Read
javascript

6 ways in JavaScript to iterate over an array of objects

JavaScript program to iterate over an array of objects in 6 different ways. We will learn how to use a for loop, while loop, do-while loop, forEach, for...of and for...in loops.

Read
javascript

How to find all matches in an array of objects in JavaScript

Different ways in JavaScript to find the matches in an array of objects. We will learn how to use the filter method and how to filter out objects with multiple properties in JavaScript.

Read