youtube added new new feature of zoom a video

Youtube added new feature of Zoom a Video

Youtube added new feature of Zoom a Video Youtube added a new feature on 18-01-2022 of zooming on a video. New update looks like the below screenshot:- In this update, you can hover and play the videos on youtube. youtube new features 2021 youtube new features 2022 youtube new features 2020 youtube new features 2017 […]

body fat calculator

Body Fat Calculator Using JQuery and html

Body Fat Calculator Using JQuery and html In this tutorial, I am showing you how to create a body fat calculator using HTML and jquery. 1) Create a form of below fields:- Gender Male Female Age Weight Height Neck Waist Hip Calculate 2) Add some style 3) Add jquery library and below code snippet Below […]

php check if time is less than the current time

php check if time is less than the current time

php check if time is less than the current time $date_now = new DateTime(); $date2 = new DateTime(“01/02/2016”); if ($date_now < $date2) { echo 'less than'; }else{ echo 'greater than'; } PHP check if time is greater than the current time $date_now = new DateTime(); $date2 = new DateTime("01/02/2016"); if ($date_now > $date2) { echo […]

How to make oauth2 for here map API in php

How to make oauth2 for here map API in php

How to make oauth2 for here map API in php To make oauth2 authentication in PHP for here map you need bellow credentials:- 1) here.access.key.id 2) here.access.key.secret Now use below code snippet to create an access token $timer = (string) time(); $grant_type = ‘client_credentials’; $oauth_consumer_key = ‘here.access.key.id’; $oauth_nonce = uniqid(mt_rand(1, 1000)); $oauth_signature_method = ‘HMAC-SHA256’; $oauth_timestamp […]

check for a value in array javascript

check for a value in array javascript

Check for a value in array javascript To check for a value in an array in javascript using the below code snippet:- const fruit = [“Orange”, “Banana”, “Apple”, “Mango”]; fruit.includes(“Mango”);

create object and sub object using javascript loop

create object and sub object using javascript loop To create create object and sub-object using javascript loop use the below code snippet var mainobj = []; var count = 0; for (const key of walkingdata) { mainobj.push({lat: key.lat, lng: key.lng,subdata:[]}); for (i = 0; i < walkingdata.length; i++) { if(walkingdata[i].distance < 600){ mainobj[count].subdata.push({lat: key.lat, lng: […]

Uncaught TypeError Cannot read properties of null reading addEventListener

Uncaught TypeError: Cannot read properties of null (reading ‘addEventListener’)

Uncaught TypeError: Cannot read properties of null (reading ‘addEventListener’) In JavaScript, a very common error is the Uncaught TypeError: Cannot read properties of null (reading ‘addEventListener’). This error occurs when JavaScript cannot find the element by using its id through the getElementById() function. Another case of this error is you no HTML element id exists […]

How to add polygons and polyline in react native map VR SoftCoder

How to add polygons and polyline in react native map

How to add polygons and polyline in react native map In this tutorial, I am going to show you how you can add the polyline and polygon in react native app application. import the react-native map package with Polyline and polygon:- import MapView, { Marker, AnimatedRegion,PROVIDER_GOOGLE,Polyline,polygon } from “react-native-maps”; Please check the below complete code […]

Scroll to Top