2,524,872 questions
Best practices
0
votes
2
replies
24
views
What is an example of a real and valid reason to create a circular dependency - javascript / other
There is a project at work, a complete rebuild of a codebase that had become very large and difficult... This is not about opinions on that topic.
So the new code base is ~1 years old. I am not the ...
0
votes
0
answers
42
views
The content on my second tab is not showing up (javascript) [closed]
I'm really new to coding and I'm trying to make tabs for showing two different galleries. The first tab is working just fine, but when I click the second one nothing shows up. We're "in it" ...
Advice
0
votes
14
replies
55
views
How can I deal with this javascript variables problem?
I have a quiz with 5 questions with a couple of answers you can choose from each, it's always single choice, so you will have 5 variables in the end, one per question q1="",q2="", ....
Advice
0
votes
11
replies
57
views
How should I share, save and combine JavaScript variables across HTML sites?
I am passionate about writing a personality/psychology/dating website. I know how to use variables a bit, but I don't know which is the best way to store them. There are cookies, sessionstorage and ...
-1
votes
0
answers
39
views
MasterGain isn't disconnecting, help please
I'm making a website where I put the songs I make, and I'm running into an issue.
I have a function to turn an audio link (will be replaced with a file at some point, irrelevant) into an audio using ...
Best practices
0
votes
3
replies
43
views
Setting up posts alphabetically within a tag
I would like to be able to set my website so that all posts are sorted in alphabetical order. However, I also have these posts separated by tags, so basically if you click a tag it will only show you ...
1
vote
1
answer
46
views
How to animate icon change between menu and close using CSS?
I am working on a navigation toggle button for a website and I want to switch between two Material Design icons, menu and close, when the user clicks the button. Currently, the icon changes instantly ...
Advice
0
votes
6
replies
81
views
Looking for guidance on this journey
So I've been getting into coding, developing, programming, you name it for like the past year. At first I learned a little bit about C for a few months, learned the fundamentals but not all. Then ...
2
votes
0
answers
47
views
placeholder disappears immediately when dropping item instead of waiting for overlay transition
I'm using dnd-kit in a Next.js project to reorder items in a sidebar. Dragging works correctly, but there is a visual issue when the item is dropped.
During dragging, I render a placeholder element (...
-3
votes
1
answer
67
views
Assign value from successful promise resolve to external variable (redux) [duplicate]
It's 2026 and I have the same goal as what Gerard was seeking in 2015: I am calling an external resource and I want the entire process to be synchronous. No matter what I try, no amount of async/await ...
Advice
0
votes
1
replies
46
views
Running Javascript in Android Pdf Reader
Is it actually possible to execute JavaScript within Android PDF readers, regardless of the version or app type? My understanding is that simply embedding the following script into the PDF should be ...
Advice
0
votes
2
replies
50
views
How to implement barcode scanning in a JavaScript inventory management system?
I’m building a web-based inventory audit management application and want to enable barcode scanning to speed up stock counting. Most scanners act like keyboard input devices, but I want to capture the ...
-2
votes
1
answer
36
views
React Native Stripe Connect Express account onboarding failure on android [closed]
Stripe Connect Express Onboarding — "User Not Found" error on Android only (React Native Expo)
Problem
I'm implementing Stripe Connect Express account onboarding in a React Native Expo app. ...
0
votes
1
answer
38
views
MathJax is not defined while doing tex to svg
By loading the file, the console says `MathJax is not defined' but I have no idea how to fix, despite many attempts. I have tried adding some code for the MathJax but then it says MathJax.tex2svg not ...
0
votes
1
answer
25
views
Testing if a dialog is pop-up with Playwright for Java
I have a question about dialog in Playwright Java. By far what I have known, you can handle dialog through onDialog(), offDialog(), onceDialog(). But they are not suitable for testing if a dialog is ...