API Call code: const settings = { "async": true, "crossDomain": true, "url": "https://v3.football.api-sports.io/fixtures?date=2021-04-07", "method": "GET", "hea
I'm working on a UML project and needed a tool to render State Machine Diagram on a website. I found this cool API but I don't understand how to use it, I'm ver
I am in the middle of creating a simple library app. Here, I am trying to use firestore database in firebase console. I am coding this on the expo snack editor.
I want to fetch user information stored in firestore after the user has logged in using google sign in. I am checking whether the user exists or not. If the use
I'm trying to display the error message I set using yup validation - my schema for displayName looks like this: displayName: yup.string().required("Please ente
I created the effect I want below: const container = document.getElementById("container"); const boxes = document.querySelectorAll(".box"); const clearBtn =
To run this thats why i added css and html also, What i want tnat when i click on any notes delete button that note should be deleted however it deletes other n
TLDR - See example HTML. First console.log call shows an empty resultset. I know how the fix this, but why does this happen? Chrome (101.0.4951.54) / Edge (101.
I need to get the distance value as a percentage so that I can use it in progress bar. I have already tried to divide and multiply and subtract everything among
I've got a vue web component with a numeric prop on it, and through some testing have found that doing something like this doesn't work in setting the prop valu
I have a list of objects: [{name: "bob", age: "14"}, {name: "bob", age: "16"}, {name: "sue", age: "21"}] I need a simple way to filter out duplicates with
So I am using the hendt/ebay-api library but having no success with the getOrders call. Here's the auth scopes I'm using when setting the ORIGINAL User access t
I am using react js to develop my project.I am using React MUIDatatable to bind the data, which I am receiving from API as shown below. I am facing issue, when
I have a web app where users can build their own profiles with their usernames like below. ourplatform.com/john ourplatform.com/john/about ourplatform.com/john/
function addElements(mailbox) { if (mailbox != 'sent') { let actionDivArchiveBtn = document.querySelector('#actions') let archiveButton = document
I have a lot of values inside a .env.local file. NEXT_PUBLIC_GA_ID = myvariablevalue I wrote a function that checks if these are present: exp
I have a single object of with key value pair, and i need to replace the first key value pair with a new key value in react.js. I have tried to make immutable p
I was wondering how could I import a javascript file into a website with Electron? By that I mean: mainWindow.loadURL("https://a.website"); mainWindow.loadScrip
If the value is exist in localstorage I want to replace it. When I try to do that existing value is still inserting. addEntry = (e,id) => { e.preventD
I'm struggling to create a php gallery slideshow and was hoping someone could recommend how to do this part.. The below code is taken from w3schools and works w