I have a Chrome Extension that subscribes to a WebSocket and pops a window when a message comes down that socket. This runs in a background script, so no matte
I'm unable to resize the image. Here's my code document.getElementById('btn1').addEventListener('click', function(){ document.getElementById('photo').inne
Code below does create accordion in Shopify product pages. I'm looking for a way to hide accordion if it has no content to display. Each accordion is an unique
I am unable to display fetched data on page. Here I am using ReactJS for frontend and NodeJS for backend. To store data I am using blockchain (hyperledger fabri
Currently working on a 1:1 live chat messenger. when i send a message its shows up at the bottom of chat where i want it to, but upon page refresh it returns to
I want to update kwota brutto, wartosc netto and wartosc brutto based off of ilosc kwota netto and vat but it doesn't seem to work. I literally have no clue wha
I am trying to change the styling for my HTML elements without touching the HTML and CSS file. resultFirstName.style.fontWeight = "bold"; result
I have an array of object which consists some id's as a key. const sampleObj1 = {0011:[{},{}], 0022:[{}, {}], 0033:[{},{}]} const sampleObj2 = [{id:0011, name:'
I have an array of object like this: [ { "bio": "Douglas Gerald Hurley is an American engineer, former Marine Corps pilot and former NASA astronaut. He la
I'm getting this error when I try to make some gql query: I have tried to change the angular version, but I need to implement gql in this version. without upgr
I am using Vue 3 with Typescript. I am trying to show a video in the PWA. It works online great but when i try it offline the video is not loading. I store the
I have 6 crypto coins I'm getting current price from CoinGecko's API I have spans inside of divs set up on my html page, where the price span html updates after
I am using Cypress + Cucumber. Trying to fail test and skip steps if one of the failed. For this, I'm using the following code: afterEach(function () { if (
Context : I am running a bunch of Playwright e2e tests for a enterprise web application, which are run on Github actions, as a part of the CI/CD process. To lau
I thought that this would be rather straightforward but nothing really much work. I am writing this using cheerio in node js. Basically, I have the following HT
This is my hardhat.config.js file code module.exports = { solidity: "0.8.4", networks: { hardhat: { chainId: 1337 }, mumbai: { url:
Can anyone help me with a JS code where I can update a number filed during a record creation? For example: You have an entity call cars that have a number value
Google sheet stock inventory Hello everyone, I'm turning to you because I can't get my code to work on google Sheets. The purpose of the program is to be able t
I am using type script and I want to make a type that represents an object like this the keys generated are genrated dynamically how do I do that { dog:true,
Is it possible to call getter and setter from within own class ? If yes what's the valid syntax instead of invalid this.gettext(); in below class : class T