Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-7 votes
0 answers
34 views

Creating Framework for using Vanilla Webpack [closed]

Hi I'm jade any suggestion on creating a framework? I am familiar with node but is wepback is the king of framework or just node is best for server...... I'm studying web development for 1.5 years now ...
jade leonard miano alvez's user avatar
0 votes
0 answers
34 views

Why are my simple addEventListener functions not working, except one works backwards? [duplicate]

So I'm new to javascript and new to coding. I am building a website or two just to learn while I'm building. I'm doing this locally on my laptop. I'm trying to make a button on my website, that when ...
miguel's user avatar
  • 9
0 votes
1 answer
39 views

What is causing the route to change (ikely because form is submitting), i also added return false in the function?

I am currently building a single page web app and wanted that js handle the form submission and so that route remain the same. But when i click the submit button route changes, JS Code: document....
Aarav Kumar's user avatar
0 votes
1 answer
59 views

Web Components: attributeChangedCallback() function not triggered even after mentioning the observedAttributed()

I have created a Web Component which has 2 inputs: btnText and btnDisabled. I have mentioned these 2 attributed in the static get observedAttributes() {}. Yet, the attributeChangedCallback() does not ...
Ankit Tanna's user avatar
  • 1,809
0 votes
3 answers
1k views

Problems with atribute components like ngClass or ngStyle

I'm new to Angular 17 and I've noticed that every time I want to use an ngClass attribute or an ngStyle I get an error like it doesn't recognize them and I get this error NG8002: Can't bind to '...
Dan Lsk's user avatar
0 votes
0 answers
83 views

I make simple chat using python flask and html/css/js but after adding new messages to database they don't appear on page

I have attempted different approaches to solve the problem, but new messages still do not appear. I would prefer not to use AJAX or Flask-Socket. I also make the page reload every second with JS, but ...
David's user avatar
  • 1
0 votes
0 answers
108 views

What methods exist to copy a gif to the clipboard and post it into other applications?

I want to (programmatically) copy a gif to the clipboard such that I can paste it into modern chats like those of MS Teams or Discord. There seem to be some "magic" happening in the ...
Zapnuk's user avatar
  • 625
1 vote
2 answers
2k views

In Next.js App router should the page.js be a server component?

In Next.js 13 and above (App router) should the page.js of all the routes/folders be a server component ? I mean is it the standard practice. I know that it can be a client component using use client ...
Abhith's user avatar
  • 439
0 votes
0 answers
108 views

react error All imports in import declaration are unused

please can I get some help with this code I do not understand why it is not using the imported elements. The error I am getting is All imports in import declaration are unused. I understand what this ...
felix chombe's user avatar
1 vote
1 answer
52 views

Does puppeteer press Win + PrtSc to take screenshot?

Currently I'm programming to automate screenshot. I've learnt websites cannot detect if users screenshot or not, however they can know the key stroke we typed. So, I'd like to know when puppeteer ...
taku1029's user avatar
2 votes
2 answers
132 views

Web Development - Seeking a Solution for Video Slicing to Upload Segments to Server

In the course of a web development project, I encountered a challenge with video slicing for efficient uploading to a server. Initially, I developed a service that successfully sliced MP4 files by ...
BackdoorTech's user avatar
0 votes
1 answer
84 views

How to collect data from element after click on button?

I created a simply shop online. I tried to create a script that would retrieve data from an element after click on button "add to basket". Next if user choose and add products to basket then ...
Pythonman21's user avatar
0 votes
0 answers
69 views

Uncaught (in promise) DOMException: The play() request was interrupted by a new load request

I'm trying to create a music player and this is part of the code. // Function to play the previous song function prevSong() { console.log("playing"); if (songs[songs.indexOf(song) - ...
KNaicker07's user avatar
1 vote
0 answers
108 views

TypeError: Cannot read properties of null (reading 'parentNode') in ExtJs 5

I'm facing a problem where some users (approximately 10) encounter crashes on the authorization page with the errors. The main problem is the rare reproducibility without depending on browser or OS ...
Aura's user avatar
  • 11
0 votes
0 answers
46 views

How to sequentially load images in React Native, one after another, when passing an object with an array of multiple images?

I'm working on a React Native project and facing a challenge with loading images sequentially. Specifically, I need to load images one after another in a strict order when passing an object with an ...
Roman Uk's user avatar

15 30 50 per page
1
2 3 4 5
685