Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

I am writing a proxy to relay websocket messages to a backend server. Client initiates a request over HTTP to upgrade to WS using a Sec-WebSocket-Key header. The proxy has to intercept the request and ...
S7H's user avatar
  • 1,655
-1 votes
0 answers
10 views

The question itself is vague, so I'll do my best to clear things up. I completed a project on the freeCodeCamp platform which contains the following files: index.jsx, index.html, and styles.css. I ...
John Doe's user avatar
0 votes
0 answers
36 views

In my code, I have a bunch of asynchronous tasks, which will be represented as Promises. Say, let those be: let promises = myarr.map( (x) => myAsyncFn(x) ); I know I can get the first Promise out ...
einpoklum's user avatar
  • 139k
0 votes
1 answer
26 views

Hi I am a beginner to coding and I am trying to build The Odin Project To Do List . I have been stuck with this code for 2 days and this is my first time ever asking for help on a forum so please do ...
Oyin Kadiri's user avatar
0 votes
0 answers
26 views

I am implementing Flutter Web Multi-View Embedding to integrate independent Flutter components into a React.js frontend. Following the official documentation, I am initializing each Flutter widget ...
Nelynx's user avatar
  • 1
0 votes
0 answers
25 views

I made a example, here’s the link to it - https://stackblitz.com/edit/vitejs-vite-cve3gcbr?file=package.json&terminal=dev I tried to do this because it’s needed for this mockup. Here’s the link to ...
Roma N's user avatar
  • 320
-2 votes
0 answers
58 views

I want to create a table with a custom filter component for each column. The filter component props should implement the FilterComponentProps interface. The filter component type and its props are ...
Marcin Popławski's user avatar
0 votes
0 answers
55 views

I have a form and in the console the errors object is populated properly but I am trying to prepar for complex forms so this being dynamoc matters 'use client' import { get, useFieldArray, ...
EnenDaveyBoy's user avatar
-1 votes
0 answers
59 views

As the title suggests, when the "focus" trigger is set for Bootstrap's Popover function I am unable to interact with the elements within the popover. In this example I added a popover ...
Shaun Gentry's user avatar
0 votes
0 answers
24 views

I’m using Azure Maps Web SDK to animate a flight path. The route line is drawn using snakeline, and a plane icon is animated using moveAlongPath. The problem: The route line animates correctly.The ...
User's user avatar
  • 1
1 vote
1 answer
40 views

I’m having an issue with this JavaScript: when I paste a number, the TextChanged postback is not triggered, whereas it works correctly when I type the value manually. It’s a general control, and the ...
Gianlu23's user avatar
-5 votes
0 answers
95 views

I have a script that allow the user to match the targetNumbers in any order in each input fields however when all the inputs field is locked (incorrect) the game reset and try again. I would like to ...
Ace Z.'s user avatar
  • 3
-8 votes
0 answers
46 views

I am working on CodePen.io and I have my HTML, CSS, and JS codes ready. Everything works perfectly, except for the sound. I've been struggling with this for two days, trying dozens of solutions ...
Dudu Dobo's user avatar
0 votes
1 answer
35 views

I'm trying to extends a class and assign a different value for a property that has been already defined in the parent class. The new value is from the allowed values: class X { constructor() { ...
HankMoody's user avatar
  • 3,183
1 vote
1 answer
124 views

I’m tracking button clicks on my website and storing both client-side click time and server-side insert time in my database. Frontend (JavaScript) I capture the click timestamp like this: clicked_at: ...
Pavan Kalyan's user avatar
Advice
1 vote
1 replies
58 views

I can play simple tone using code below. But how can I generate sound like a musical instrument (piano, flute etc...) ? function playTone(freq, duration, delay= 0) { const osc = ctx....
s k's user avatar
  • 5,376
0 votes
0 answers
71 views

I'm building a little "educative game". My girlfriend is a bachelor for pedagogy and wanted to try an English learning game for a college project. Here I tried to implement the ElevenLabs ...
Gabriel Braga's user avatar
0 votes
0 answers
47 views

const text = `This led him to settle in England, at that time an asylum for friends of freedom.`; const doc = nlp(text); const allNouns = doc.nouns().out('array'); console.log(allNouns); <script ...
Barhoppingturtle's user avatar
-4 votes
1 answer
103 views

This is the lab I am currently working on: https://www.freecodecamp.org/learn/front-end-development-libraries-v9/lab-tic-tac-toe/build-a-tic-tac-toe-game My code so far: index.jsx const { useState } = ...
John Doe's user avatar
Advice
1 vote
3 replies
128 views

I am currently learning Laravel PHP, but I feel a bit confused. From what I see, there seems to be less demand for Laravel at the moment. On the other hand, I hear that JavaScript—especially Node.js ...
Luay Salam's user avatar
-3 votes
2 answers
91 views

I'm collecting an array of data, saving it as array of custom objects, then trying to map it to a table. I have a constructor for my object type: function cellData(x, value, y){ this.x = x; ...
Ryan Tanner's user avatar
1 vote
1 answer
77 views

I am using AmCharts version 3 in my BI project. I am facing a specific issue with the Y-axis labels when dealing with negative values. When I set "Digits after decimal point" (precision) to ...
Utkarsh Patidar's user avatar
Advice
0 votes
3 replies
78 views

I’m trying to replicate the particle animation effect seen on Google’s “Antigravity” page. Link Specifically, I’m interested in how the particles react to mouse movement and hover interactions. I ...
Durgeshwar Kumar Shaw's user avatar
3 votes
2 answers
140 views

I'm having problem comparing a sha256 for a webhook validation from this documentation: API doc: docs.api.delyva.com API guide: delyva blog webhook validation (sample from API provider/delyva): const ...
NM AA's user avatar
  • 65
0 votes
0 answers
51 views

I have a multi-section form. When the user clicks the Next button at the bottom of the page, my script uses a smooth scrollIntoView() to scroll up to the nav bar. When the scroll has completed, (by ...
Boycott A.I.'s user avatar
  • 18.9k
Advice
1 vote
6 replies
117 views

I am coding from my phone. I want to get a full screenshot of my project's main app to display an example on the front (landing) page. I obviously can't do this from my phone, and I don't want to use ...
Michael Johnson's user avatar
Advice
0 votes
6 replies
94 views

How can I do this without using any third party frameworks or libraries? Thanks in advance for any help, with even just one of these (mp3, wav, m4a) I am somewhat familiar with the Web audio API. I ...
Michael Johnson's user avatar
-3 votes
0 answers
51 views

Playwright is producing false positives on GitHub: Github (passes): npx playwright test --grep-invert @prod --shard=1/3 Local (fails, same command, same commit as Github!): npx playwright test --grep-...
Banoona's user avatar
  • 578
2 votes
2 answers
81 views

I am working on this lab on freeCodeCamp. I am having issues with the setInterval() method as well as the useEffect hook. Once I click on the button, with every passing second, the timer state ...
John Doe's user avatar
1 vote
3 answers
92 views

:has(:focus-visible) not matching on programmatic .focus() When calling .focus() programmatically the :focus-visible selector doesn't apply on buttons like it does on inputs, but tabbing to the button ...
orindholt's user avatar
  • 123
Advice
0 votes
3 replies
37 views

I have an HTML page with a select box which, depending on the selection, displays the next select box. var xxx_el = document.getElementById("xxx"); var clear = document.getElementById("clear"); var ...
user2883469's user avatar
-1 votes
0 answers
59 views

I am trying to write a Mirth Connect function that takes an OBR segment and shifts the fields in it. It does shift the fields, but it is including the XML tags in it so for example my new OBR.25 looks ...
B. Smith's user avatar
0 votes
1 answer
63 views

I know how to show image at the end or start of text in a view, but what I want is to show icon inbetween the text. Here's a Figma preview image for reference: In my code I tried to create the above ...
Noob Saibot's user avatar
4 votes
2 answers
131 views

I am working on a Tic_Tac_Toe project. I have an object (gameBoard) that contains an array, then I have another object that i want to create a player from to play on the board, then I have a function ...
Blazing Jas's user avatar
0 votes
1 answer
79 views

I have a React 19 + Vite 7 + TypeScript app that works perfectly in development but crashes immediately when I build for production and serve it. After a successful build I preview the output using ...
Intruvurt's user avatar
Tooling
1 vote
3 replies
65 views

I am developing a system that enables users to sell services and book consultants in the health and wellness domain. For the backend, I am using Django REST Framework, and for the frontend, I am using ...
Rohit Pandey's user avatar
0 votes
1 answer
28 views

From what I understand, $props from +layout.svelte are not inherited by its +page.svelte file (or any other child +page.svelte files), and there's no way to manually pass props from +layout.svelte ...
Sam Sabin's user avatar
  • 1,263
0 votes
0 answers
110 views

I have a webpage where I want to get multiple instances of the same JQuery-powered gallery tool. The first instance works just fine; all the individul items are clickable, the arrows work, and moving ...
Cri86-Titanium's user avatar
0 votes
1 answer
88 views

Chrome and Edge have a new feature that lets you style a <select> <select> <button> <selectedcontent></selectedcontent> </button> <option>One</...
Keith's user avatar
  • 157k
-1 votes
1 answer
93 views

In my application I have a couple of scripts, common and page-specific ones. <head> <script type="text/javascript" src="/javascripts/menu.js"></script> <...
Wernfried Domscheit's user avatar
0 votes
0 answers
77 views

I can only execute JavaScript inside a same-origin iframe, but I need to listen for click events on the top window. The problem is that after the iframe is removed from the DOM, the click handler ...
王长生's user avatar
0 votes
1 answer
104 views

I have been trying to optimize one of my team's component and despite successfully reducing the number of re-renders I have noticed one unexpected re-render that I just can't wrap my head around. The ...
Kreweta's user avatar
  • 77
2 votes
1 answer
121 views

This is part of a larger project, but I've boiled it down to the minimal example that shows my problem. I'm trying to define a div where a click anywhere in the div causes a file chooser popup. I've ...
Edward Falk's user avatar
  • 10.2k
1 vote
0 answers
61 views

I’m working on a system that performs login using client certificates and I need to run multiple browsers in parallel, each one using a different certificate. The requirement is to fully isolate each ...
Victor Matheus's user avatar
Advice
1 vote
3 replies
72 views

The number of supply chain attacks grows, possibly as the population using classical PCs is skewing more towards people who make software. There was recently an attack that involved a virus that ...
Tomáš Zato's user avatar
  • 54.1k
-2 votes
0 answers
100 views

So my coworker claims that we need to stop using System.Web.Optimization.Scriptbundle() everywhere because it is changing the contents of the JavaScript. He has the following code which works locally: ...
Sarov's user avatar
  • 661
0 votes
2 answers
43 views

I'm following the logic here Cross-document view transitions for multi-page applications The dom has changed since initial page load. My understanding is that javascript view transitions use the ...
Yousef El-Zebdeh's user avatar
-1 votes
1 answer
75 views

I use hashtags a lot in URLs, to jump to a specific section of a page whose id matches the hashtag. However I'd like to override this functionality to, for example: Scroll to 200px above the relevant ...
Max Williams's user avatar
  • 33.1k
0 votes
1 answer
126 views

I’m trying to recreate the scroll-based text animation used on SXSW’s website, where text transitions from gray to black as the user scrolls. What I want: - Text should animate line-by-line - Each ...
newuser's user avatar
  • 647
0 votes
1 answer
64 views

I’m testing WebAuthn PRF for local encryption/decryption in a minimal PWA. In a normal browser tab (Chromium-based), biometric flow works. In the installed PWA (same origin, same device), navigator....
user2374384's user avatar

1
2 3 4 5
50490