I have a custom interface like this: interface Pointer<T> { id: string } id is a pointer to other data structures, but the id field doesn't contain inf
i have a small notifications problem, when i insert a element the position of first element is changing so i wanna make it when the element is inserted the firs
In a YAML release pipeline, I need to do a simple replacement in the js files contained in the artifact coming from another pipeline. These files have a certain
I'm facing a really hard problem. I want to create a wrapper class that can do something like "override" the state of the child without affecting the child's st
I have a function which makes a lot of calculations and returns order of sorting. For that function I have tests. Then, that function is used inside of JS nativ
References: https://github.com/pinojs/pino-tee I have two logs, info.log and error.log but the thing is, when I go to info.log, the log for error.log is there S
I have a mobile nav and I open it using this code in JS file: var toggleButton = document.querySelector(".toggle-button"); var mobileNav = document.querySel
I am building a website for me and I care about performance, speed, user experience and a lot more. When I started I didn't know much and I made an initial desi
I am using azure table storage bindings as described here https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-table-input?tabs=in-
I have these objects, which could be in an array, like in the example or a database: [ { "payer": "DANNON", "points": 1000, "timestamp": "2020-11-02T14:00:0
It seems I'm unable to use an async function as the first argument to Array.find(). I can't see why this code would not work what is happening under the hood?
I'm currently developing a project that will be Client on Java and Admin on PHP. For this purpose, I would like to store the API's data in a SQL database, so th
I use socket.io-client for Javascript server on JAVA and when I enter address 'ws://10.201.223.67:9902/' the request is not by 'ws' but by 'http'. It returns
import { createClient, defaultExchanges,dedupExchange, cacheExchange, fetchExchange, subscriptionExchange, gql } from "@urql/core"; import { createClie
I'm trying to complete a type-along and I keep receiving an error for authentication when trying to upload images as an object. Here is the link of the type-alo
This is my first question because I'm just new to coding. I want to use .map to get strings from an array. let root_vegetables = ['potato', 'taro', 'sweet p
I'm trying to add an svg dynamically to a menu, but I'm having a problem setting the viewbox. When I inline the svgs (svg and svg-2), the view
I would like to add a delay/sleep inside a while loop: I tried it like this: alert('hi'); for(var start = 1; start < 10; start++) { setTimeout(function
So I want to display MongoDB data in HTML so I used the EJS template but this is the error it is showing . I can't seem to figure out where the problem is, IS i
I'm using tsayen's dom-to-image library to snapshot an image element. The intrinsic size of my image is close to 1000x1000px, but on my website I have it scaled