2,531,685 questions
0
votes
1
answer
16
views
Trigger onclick event after long touch
I'm currently developing an Android App using a WebView and realized that the behavior of click events differs between desktop and mobile.
<button onclick="console.log('clicked')" />
...
0
votes
0
answers
16
views
Time Calculation Is "Paused" After First Execution When Deployed to Vercel
I'm encountering an issue with my web push notification system when deploying it to Vercel. The time is being "paused" after the first execution and doesn't update correctly when the ...
0
votes
0
answers
21
views
Inner function not being called after loop exit
I've been doing The Odin Project and am on the Rock, Paper, Scissors assignment.
I've created a function to play 5 rounds of RPS and keep track of the score for the human/user and the computer. This ...
0
votes
0
answers
20
views
What are "script mode" and "module mode" in Javascript? [duplicate]
I was reading about javascript scopes:
Global scope: The default scope for all code running in script mode.
Module scope: The scope for code running in module mode.
Function scope: The scope created ...
-2
votes
2
answers
28
views
View Files VS Code in the browser?
im currently using VS Code in the browser & want to know how do i view the output of my html, css& javascript files?
0
votes
0
answers
29
views
Matching Card Game using JS
*{
box-sizing: border-box;
}
.clear {
clear: both;
}
section {
border: 1px solid black;
height: 200px;
width: 50%;
float: left;
}
<!DOCTYPE html>
<html lang="en">
<...
0
votes
1
answer
12
views
When the modal/dialog tag is open the selected id is wrong
I'm creating a simple CRUD, it's already create, read and delete but does not update properly yet.
When the modal/dialog tag gets opened, for some reason the id of the collect is wrong, it always get ...
0
votes
0
answers
9
views
updates react-leaflet clusters and markers
please explain why when updating markers on the map, all clusters disappear for a moment, and then reappear. How do I make marker updates happen seamlessly for the user?
this is code parent component ...
-6
votes
1
answer
29
views
How can I calculate someone's zodiac sign from their birth date using plain JavaScript? [closed]
I've searched around, and most examples I found are either in Python, PHP, or rely on full birth date/time (including the year or even hour of birth).
What I’m looking for is something much simpler:
I ...
0
votes
1
answer
27
views
No response to Fetch request in chrome extension background script
I'm trying to write a chrome extension to grab some stored data and POST it to a remote db table. I'm trying to testing the post functionality using https://www.postb.in/. I am using a devtools panel ...
1
vote
0
answers
23
views
Why is a fetch of missing resource's URI take me straight to the catch block?
I'm using the Fetch API for the first time, running some code within a (recent version of) Thunderbird:
let uri = whatever();
window.fetch(uri)
.then((response) => {
console.log(`got response ...
-1
votes
0
answers
22
views
How to bundle node:crypto createDecipheriv for use in the browser?
I'm trying to bundle the makeTLSClient function from here https://github.com/vkrot-cell/tls to make sure the claims are true and correct and to eventually use as described here https://github.com/...
-2
votes
0
answers
40
views
Is deno compile really panicking just because of @ symbol?
I've compiled tsc nightly to a standalone executable previously.
All of a sudden deno is panicking, apparently due to the @next in npm:typescript@next/tsc.
Is deno compile really panicking just ...
-2
votes
0
answers
12
views
Using dom component or image instead as label of bar chart on react chartjs v4 [duplicate]
I have bar chart like this,
const data = {
labels:['book','desk'],
datasets: [
{
label: 'My Data',
data: [10,20],
backgroundColor: 'rgba(255, 99, 132, 0.5)',
...
-1
votes
0
answers
12
views
Custom DateTime Filter For AG-Grid (in Dash)
I’m presently trying to use Dash AG-Grid for a use-case in my org. One of those is to have filters through DateTime format (“YYYY-MM-DD HH:mm”). Since, the pre-configured agDateColumnFilter doesn’t ...