How to Add Your WordPress Site to Google webmaster tool

How to Add Your WordPress Site to Google webmaster tool

How to Add Your WordPress Site to Google webmaster tool To optimize your website for SEO you need to add your website to the google search console ( Google webmaster tool ). Google offers more tools like google analytics to track your website visitors. In this tutorial, we will show you how you can add […]

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: […]

Scroll to Top