I am trying to implement a function that allows a user on a mobile device (using chrome or safari for example) to be able to draw a polygon in google maps. The
Here's a function i'm having trouble with the foreach loop traverses just fine but i'm having trouble removing item from localStorage. function removeFromLocalS
I'm extremely new with JavaScript and TypeScript (like, day 3). I need to let the user delete a value that they entered into a table. I've been working on this
I’m facing an issue, hope someone helps I have pages of classes eg. Events, decorations, etc and I’m using desktop layout (admin dashboard template
Im using https://openweathermap.org/ api. It provides timezone in seconds. How to properly get day of the week (name) using moment.js? const timezoneInMinutes
I am a beginner programmer. I am trying to make a website that does the following: Displays a map using Google Maps API Displays a form with checkboxes that lin
Google recently sent me an email with the following: One or more of your web applications uses the legacy Google Sign-In JavaScript library. Please migrate you
Taken an array with given size, when we try to push the elements into it, javascript pushes the elements post the allocated size. Shouldn't javascript reset the
I'm currently using the Google Sign-In JavaScript Platform Library for web. Via the grantOfflineAccess() function I request access to scopes from the users Goog
Hy, I am using tone.js to record audio using my mic and then downloading the audio. Here is my code; function test() { var mic, recorder; recorder = new
I used the google maps api to get the driving distance between 2 points 1 - The Origin point -> my current location. 2 - The destination point -> The user
I'm a begginer in Javascript and I kindly need your help with this Jquery script I'm working on.. I need to make it work only on desktop and prevent it to run i
When clicking "button1" I would like the code to check the First Cell (Column A) of Rows 38-58 and hide the Row if the corresponding cell is empty and show if i
Modern frameworks like Vue and React start with inline CSS inside individual components. For example, in a Vue single file component, we include all the Javasc
Hi I need an animation that makes a div go from left to center, but it doesn't work. This is my code: $(document).ready(function () { $(log).click(funct
I have an object like this const countries = { iran: { capital : 'Tehran', population : '83183741', area : '1648195' }, uk: { capital
I'm making a Wordle game with JavaScript. However, the ID in the UPDATE function doesn't work even though the ID I used before is full. I tried changing the id,
I'm trying to create a random number generator where based on the number an image is chosen from the img folder that is on the same hierarchy as the CSS folder.
Edited the Details as I found a solution to display the Chart with the right datasets. Code Below will show the Two Charts, which visually looks great but butto
I am working on an angular project, where I am adding MultiFactor Authorisation using firebase authentication, I am trying to verify phone number by firebase.au