Questions tagged [javascript]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
I'm having a little warning showing when I call my Vue filter, my filter works perfectly but there's still a warning throwing in the console, I'd like to remove it
Here's the error that I have on the ...
What we have:
keydown event + preventDefault prevents keypress event (proof: https://stackoverflow.com/a/57401334/9398364)
stopPropagation doesn't help at all
We can't simulate keypress with ...
asked 7 mins ago
caxapexac
61455 silver badges2020 bronze badges
I am using cloud firestore database to store documents for user inside a next.js application, the collection path is as follows collection "userDocs"-> document "userEmail" ->...
I have an id and with that i want to map through an array and get a new array where only the containing id items will be there.
So,the array is like :
var list = [
{
genre_ids: [28, 12, ...
I'm making beginner javascript pass the message project I'm having a problem with this: If no input is submitted, an alert should show (using the ‘show' class in the CSS file) in the “Last Message ...
client.on('guildMemberAdd', async (member) => {
const joinRoles = db.getRoles(member.guildId);
joinRoles.data.forEach(element => {
console.log(element.role + "meee1")
...
I'm currently building a new website for our studio but can't get the custom cursor to work properly. Here's a custom cursor built with gsap and the result was great except when I navigate to another ...
i want to do a simple application with a small firestore database, but after i finish initializing my app if i try to emulate hosting, it has some server issues. This is an example (the hosting port ...
I have a shiny app with long vertical pages that require scrolling from the user. The dashboard has a sidebarpanel with filters. That sidebar has a fixed position so that the user can always see what ...
asked 19 mins ago
user3786999
89733 gold badges1212 silver badges2121 bronze badges
Challenge: https://www.codewars.com/kata/57c7930dfa9fc5f0e30009eb/train/javascript
Hi I have been trying this problem for many hours but unfortunately my code is taking too long to pass:
function ...
asked 21 mins ago
Garados
8722 silver badges99 bronze badges
Link to problem
https://leetcode.com/problems/campus-bikes/
Test case im failing:
[[906,92],[397,522],[543,253],[839,747],[527,955],[14,515],[440,825],[506,429],[108,133],[702,689],[134,841],[889,148],...
I'm on my first week of testing Redux. I'm wondering if there is a more elegant / less hacky solution to using a glodal variable for the timeoutID? clearTimeout is used to guarantee that the ...
I am a student and for a project, I want to have a webpage that sends a stream of audio continuously to a python server so that I can apply wake word detection and eventually speech recognition using ...
I am looking to use Node and React for displaying dynamic table data where one property, `cost' will be updated via a WebSocket listener and perform some functions, i.e. find highest/lowest, or ...
asked 33 mins ago
ElHaix
12.5k2525 gold badges107107 silver badges194194 bronze badges
i have a csv file that contains full path for multiple image files e.g
c:\folder1\image1.png,c:\folder1\image2.png etc.
I have to read the path from the file and upload the image to the backend using ...