Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

CSS 3D isometric cube – faces disappear at certain rotations

I’m trying to build a simple isometric cube with pure HTML and CSS (no WebGL). At some rotation/frame, some faces of the cube are not shown. They are in the DOM, and they don't have any of these ...
MrJoky's user avatar
  • 355
0 votes
1 answer
40 views

Mixing javascript with Angular

I am working on a Chrome Extension that requires a background service-worker in javascript and I want to use Angular and typescript for the rest of the extension. The service-worker has to be a ...
Rick's user avatar
  • 71
0 votes
0 answers
7 views

AgGrid: How to have multiple rowGroups without forcing them to the left and a sum column in between

I'm working with AgGrid, and I want to achieve the following column layout and behavior: Have a rowGroup on one column (e.g., "Category") Then a regular column that shows the sum of ...
Hamza Torjmen's user avatar
-2 votes
0 answers
25 views

What Is The Best Way To Get Code Coverage For A Service Worker? [closed]

What is the best way to get code coverage for a service worker? I looked around for a while and it really seems like the only thing to do is instrument the service worker with istanbul. This is ...
Alex Grant's user avatar
0 votes
0 answers
26 views

How to get restricted image via URL?

I have been trying to get access to an image I uploaded to Cloudinary and later made it restricted. The method I want to use is using it's URL but for some reason no URL works and it's documentation ...
TheSpy181's user avatar
0 votes
0 answers
14 views

node-canvas, sharp and skia-canvas resulting into blurry image when downscaled

I'm trying the NPM canvas package ("node-canvas") to draw an image inside a rectangle from Node.js, but when downscaling the image gets blinear/blurry. I'm using [email protected]. const iconPath ...
Hydroper Resident's user avatar
-2 votes
1 answer
39 views

How to inspect Icecast stream headers in the browser despite CORS

I am building a website, where users can enter a stream URL (usually Icecast) to play on a custom device. Before trying to play it, I want to check whether the stream will be able to play on the ...
maybrother's user avatar
0 votes
0 answers
30 views

GHAS for Azure DevOps does not scan contents of wwwroot folder in .Net

I want to scan wwwroot folder contents using GHAS for Azure DevOps in my Asp .Net Core MVC app. I have a pipeline that looks as follows: trigger: myBranch pool: vmImage: 'windows-latest' steps: - ...
StanSm789's user avatar
-2 votes
0 answers
30 views

Vite import.meta.env variables return undefined even though .env file exists [duplicate]

Actually i am getting my content of this "import.meta.env" but not getting "import.meta.env.VITE_APPWRITE_URL" It come as undefined This is a sample of my .ENV file env file ...
Harshit Garg's user avatar
-1 votes
0 answers
42 views

Next.JS: Application error: a client-side exception has occurred [closed]

i got error Application error: a client-side exception has occurred and in the browser console is like this Uncaught SyntaxError: Unexpected token '<' ChunkLoadError: Loading chunk 9772 failed. how ...
ad1's user avatar
  • 61
0 votes
2 answers
58 views

How to filer multiple TDs with one input text box only

I have a table with six columns containing approximately 7,000 entries. Currently, the table is filtered by six separate input text boxes, each with its own JavaScript function. Each function targets ...
M.Rono's user avatar
  • 55
-1 votes
0 answers
49 views

How to display a variable in an animated image/video in JS? [closed]

There is a task: add an animation file to a Vue3 web application and embed a variable in a specific place in the animation. The variable is a changing number that should be bound to a specific visual ...
Alex Tuiasosopo's user avatar
-3 votes
1 answer
59 views

How to check if a file exists using javascript [duplicate]

What am I missing here? I am just trying to see if a file exists xhttp.open("GET", "/file.ext", true); xhttp.send(); if (xhttp.status!=404) {alert("file found");} else ...
goo's user avatar
  • 19
0 votes
0 answers
99 views

Infinite looping slideshow with CSS and/or HTML, no JS

Been working on this a while and it's not just not going as planned - any help would be appreciated! I'm trying to create a 4-image slideshow where: On the last image, when the user clicks on the &...
Jay's user avatar
  • 3
-1 votes
0 answers
41 views

How to set a class to dynamically rendered button via Grid? [closed]

I am trying to implement responsive and dynamic grid design into my calculator. I know of a simple way of achieving this(explicitly create buttons and add classes), but I am trying to find out if ...
VXVNII's user avatar
  • 7
0 votes
0 answers
37 views

Deno JS import maps aren't recognized by vscode

I'm having issues with Deno, where I'm unable to make VSCode recognize import maps my import maps look like this { "imports": { "@types/": "./src/types/", "...
jaber's user avatar
  • 35
3 votes
3 answers
77 views

What does the TypeScript `accessor` keyword do?

I stumbled upon the accessor keyword in TypeScript: class Example { accessor value: number } What does it do? I don't see any difference in usage of new Example().value.
mrousavy's user avatar
  • 1,225
0 votes
1 answer
58 views

jquery find and remove specific string on links

i've some <picture> balises in my website with several links inside them. In each <picture> balise, all these links are for the same img, my goal is to remove a specific string from all ...
michel spb2000's user avatar
1 vote
0 answers
68 views

CSS transition not working when moving tile down in React sliding puzzle

I'm building a sliding puzzle game in React using CSS transitions to animate tile movement. The tiles are absolutely positioned with top and left, and I apply a CSS transition on those properties. ...
Sebu's user avatar
  • 15
0 votes
1 answer
23 views

Scroll Behavior issue with Vue Router and Vite

I've set up a front-end environment with Vue.js, Vite, and Vue Router. When I navigate between pages, the scroll position is remembered, causing the new page to start at the previous location instead ...
HISTIGMA's user avatar
-1 votes
0 answers
70 views

How to edit a running WordPress site that isnt mine with Php Storm? [closed]

Currently I am a person who is studying I have coded websites with WebStorm but a person has asked me to do edits on their website. I have received admin access but I need to find a way to get the ...
Mattverstappen's user avatar
-2 votes
0 answers
47 views

How to get actual rendered DOM state for debugging, not just the source code? [closed]

When working with UIs, I often notice a mismatch between what’s in the source code/templates and what actually happens at runtime in the browser. For example: An element can be present in the code ...
Michael's user avatar
-2 votes
0 answers
44 views

Arrow keys for month selection and clicking on month to select month in date picker, both not working [closed]

Moodboard.jsx Generated.jsx calendar.jsx (this is included in both moodboard.jsx and generated.jsx) Issue: In the date picker in Generated.jsx, when I click on the month to select what month's ...
Hardik Kalra's user avatar
0 votes
1 answer
45 views

Variables getting stuck on values in my script [closed]

My page at http://mrinitialman.com/ColourFinder/colfind.xht is meant to allow people to use HSL or RGB gauges to play around with colours. However, if you use the RGB gauges to find a colour that ...
MrInitialMan's user avatar
0 votes
4 answers
76 views

Chrome throwing an error for a line that has been commented out already

The following line is commented out, but still throwing an error. Why would console still throw an error for a line that is already commented out? I have commented it out using // as well as `/...../ ...
Altimus Prime's user avatar
-2 votes
0 answers
54 views

PHP change button color on click [duplicate]

I previously asked this question - someone didn't like it, said it couldn't be done, and locked any answer out. So I'll start again. I'm starting a project to replace the control board for our hot ...
liderbug's user avatar
-1 votes
0 answers
51 views

Do ALL HTTPS requests in the browser derive from XMLHttpRequest and fetch API? [closed]

I'm trying to make a "nearly universal interceptor" package that can intercept all outgoing requests (coming soon...). I added interceptors for fetch API and XMLHttpRequest, and then got ...
ori raisfeld's user avatar
0 votes
0 answers
23 views

The trigger disappears due to a conflict between two ScrollTriggers

I’m currently creating a horizontal scroll for my website. At the very end of this horizontal scroll, I also set up a ScrollTrigger for stacking effects. However, strangely, the trigger for the ...
abdee code's user avatar
-2 votes
0 answers
42 views

Why are Socket.io or WebSockets used in React applications? [closed]

Socket.io or WebSockets are used in React applications for **real-time communication Normally, React fetches data using HTTP requests (GET, POST), which work on a request-response cycle. But for ...
Huzaifa Imran's user avatar
1 vote
3 answers
70 views

Why does my div element display and then disappear after clicking the submit button? [closed]

I add an addEventListener so that when the user clicks on the "post" button, a new div with the user input should appear above it. But it disappears as soon as it appears. I have attached a ...
lunarchild's user avatar
0 votes
1 answer
37 views

Audio preloading and sprite flicker issues in my HTML5 canvas space shooter—how to fix? [closed]

I made a browser-based space shooter game text in HTML5 and JavaScript. Here's a minimal code example where I preload audio assets: const hitSound = new Audio('hit.mp3'); hitSound.preload = 'auto'; ...
user31385632's user avatar
-1 votes
0 answers
32 views

THREE.js depth-map parallax looks “off” / swimming—how do I correctly align depth with the texture? [closed]

I’m building a layered parallax effect in React + THREE.js where each PNG texture has a matching grayscale depth map. The scene renders and the mouse parallax works, but the motion looks unnatural—...
Base's user avatar
  • 1
2 votes
2 answers
61 views

Type Error while trying to import page props in a next js form

Type error: Type '{ params: { type: string; }; }' does not satisfy the constraint 'PageProps'. Types of property 'params' are incompatible. Type '{ type: string; }' is missing the following ...
MrAstronaut's user avatar
0 votes
0 answers
36 views

Mobile chat widget panel shrinks and header/composer misaligns when keyboard opens (iOS Safari & Android Chrome)

I’m building a custom chat widget in JavaScript (similar to an in-page messenger). The widget attaches as a fixed panel with a sticky header, a scrollable message stream, and a composer at the bottom. ...
JASHANAHAR's user avatar
-4 votes
0 answers
99 views

Whatsapp user initiated calling not working on live [closed]

I've implemented WhatsApp user initiated calling using WebRTC, nodeJS, ReactJS. Its working properly on local but not working on live, the i'm getting on both ends seems similar and normal, But on ...
Akshay Pagare's user avatar
-3 votes
0 answers
47 views

How can I make my Ajax add_to_cart work in nested async function [closed]

I have out of stock products for which customer can place a preorder. Initialy I am doing this by creating a duplicate product through ajax request by sending product id. Then i am adding this ...
Mehdi's user avatar
  • 1,795
-1 votes
0 answers
20 views

Error when importing HydratedRouter and RouterProvider from react-router/dom in TypeScript project [duplicate]

const router = createBrowserRouter([ { path: "/", element: <Welcomepage />, }, { path: "/signin", element: <Signin />, }, ]); C:\Users\chait\...
CHAITANYA KRISHNA PARUCHURI's user avatar
-7 votes
1 answer
117 views

function to match a input in array of JSON [closed]

looking for your help on JavaScript function where I want to pass 2 elements as input and expect a true or false as response back. Scenario - I will be passing below 2 input in Javascript and need to ...
kumarb's user avatar
  • 493
-1 votes
0 answers
48 views

React native: `Rendered lesser hooks than expected. This may be caused by an accidental early return statement.`: How to debug? [closed]

I am building an app using React Native, and in one of the routes, when i click on a button, it says that it Rendered lesser hooks than expected. What I need to know now is, how to debug that? I know ...
Akshitha Rao's user avatar
-1 votes
0 answers
54 views

Restore scroll position in React after navigating back from a dynamic list

I have a car listing page built with React and React Router. Users can scroll down a list of cars, click a car to view its detail page, and then hit the browser back button. The problem: when ...
Chun Visal's user avatar
0 votes
0 answers
35 views

How can we achieve similar drag-n-drop behaviour of speed dials of opera browser for both sort and group? [closed]

I was trying to implement similar drag drop behaviour like opera browser's speed dial. Group: It creates new group or add speed dial to existing group when we drag a speed dial over other speed dial ...
CrackerKSR's user avatar
  • 2,018
-1 votes
0 answers
21 views

"Cannot read property 'computeModPow' of null" [closed]

I am using aws-identity-js in a React Native Expo project, and when I try to sign in with my Cognito user pool credentials, the sign-in process does not work as expected. Instead, it throws the ...
rks infotech's user avatar
0 votes
2 answers
61 views

Click doesn't respond on iOS

The click event doesn't fire on iOS with the following JavaScript. It works fine on Windows. Why is this happening? Is there a workaround? const pin = new google.maps.marker.PinElement({ scale: 1....
iPadTaxi's user avatar
0 votes
1 answer
49 views

How to add an item to the cart only once?

I am working on my store project using JS. I have the addToCard code to add a product to the cart. This code works, but I would like to add the product only once. After which, when I click the button(...
rmartynau's user avatar
-1 votes
1 answer
53 views

How to fix the Facebook's "Advertiser Tracking Enabled parameter volume out of range" error

My team wants to run an ad campaign, but the event which we wanna use is not eligible for it, as it says "Advertiser Tracking Enabled parameter volume out of range (Your app needs a certain ...
Gilbish Kosma's user avatar
0 votes
1 answer
39 views

SyntaxError: Unexpected token '{' [closed]

I am new to Javascript, Vega-lite, and Rollup. I have been able to solve some errors and unresolved dependencies. I am getting an error in the browser. I do not know what is going on in the bundle js ...
Info_Gatherer's user avatar
0 votes
1 answer
83 views

I can't find why nth iterations of an image are not loading [closed]

Hi I am trying to create a timeline for my fantasy world, and it works for the most part. You can see it in action here. https://www.skazkaworld.com/timeline.html As you can see, the background rune ...
Sid's user avatar
  • 67
1 vote
1 answer
43 views

Unusual "Warning: Text strings must be rendered within a <Text> component." error, related to useState? [closed]

Here's the error I'm getting: iOS Bundled 50ms node_modules/expo-router/entry.js (1 module) ERROR Warning: Text strings must be rendered within a <Text> component. 8 | 9 | export ...
Cedric's user avatar
  • 1,060
0 votes
1 answer
64 views

testing an useState change inside a callback

I have a component like this to test: import {doSomethingMocked} form 'mockedLibrary'; const TheComponent = (props) => { const [isToTest, setIsToTest] = useState(false); const handleClick = ...
Daniel Reinaldo Zorro Forero's user avatar
0 votes
0 answers
24 views

Karma + Jasmin mock query param

I am new to ts and to frontend. I want to write test that mocks query param in uri. it('should read the query parameter', () => { const stub = sinon.stub(window.location, 'search').get(() => '?...
Rudziankoŭ's user avatar
  • 11.3k

1
2 3 4 5
50565