I need an array with chart values, I obtained one but after exiting from the function it became blank, here's what happens: Example function AddvotoTec(voto
I am trying to make an https request in my backend node.js web app. I have the following code: const express = require('express'); const https = require('https'
I currently have this example array: array = [1.2%, 16%, 9.0%, 8%] I want to get the highest number so I did this: Math.max.apply(null, array); But it shows a
I'm trying to do a 3d version of an L-Syste. But I cannot declare elements in my multidimensional array. When I debug, I see that the element stays the same. I
interact.js require('dotenv').config(); const alchemyKey = process.env.REACT_APP_ALCHEMY_KEY; import { createAlchemyWeb3 } from "@alch/alchemy-web3"; const web3
interact.js require('dotenv').config(); const alchemyKey = process.env.REACT_APP_ALCHEMY_KEY; import { createAlchemyWeb3 } from "@alch/alchemy-web3"; const web3
I have a simple ASP.Net Web API method that returns a BadRequest like this .. catch (Exception ex) { Log.Error($"CreateRequest:requ
Why isn't working? index html: <script src="app.js" type="module"></script> <script src="cat.js" type="module"></script> cat.js export
For my tool there is a button with a dropdown list if you click the button. The button is using a class : countryButton-1cNDvB button-f2h6uQ lookFilled-yCfaCM c
I have recently started to learn html and i'm currently working on java script. My problem is that i would to stop the program until a image as been load for, a
I want to display random numbers by JS calculation in CSS Bootstrap colored box as shown below. How can I structure my code by adding the following JS calculati
I'm using this script to push play/pause/progress of vimeo videos on our website. I'd like to push another event "load" when video is loaded on page. I've tried
I am trying to have a menu that takes up 100vh when the menu button is clicked. However, I also have a header at the top so the menu content is lower than it. H
I want to subtract the values of two objects of the exact same structure. Although one answer exists here, it's limited to objects of no-depth. In my case, I'm
I am creating a front end for an API that requires a user to input both an API key as well as a device name. The issue is that the UseEffect() fetch is firing w
I want to track a dynamic value of an input using jquery and trigger events depending on the progression (25%, 50%, 75% and 100%). In my case, the input is a pr
I am using Sequelize query() method as follows: const sequelize = new Sequelize(...); ... // IMPORTANT: No changed allowed on this query const queryFromUser = "
Looking for a rule(can't seem to find anything, might've just missed it) in EsLint to basically prefer something like this: const example = { foo, bar }
My front end will be connected to great backend later right now it is extremely difficult to test my codes because vuex getters and setters do not cache data. S
I have JavaScript object array with the following structure: objArray = [ { foo: 1, bar: 2}, { foo: 3, bar: 4}, { foo: 5, bar: 6} ]; I want to extract a fiel