Skip to main content

Questions tagged [javascript]

For questions about programming in ECMAScript (JavaScript/JS) and its different dialects/implementations (except for ActionScript). Note that JavaScript is NOT Java. Include all tags that are relevant to your question: e.g., [node.js], [jQuery], [JSON], [ReactJS], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

javascript
0 votes
0 answers
7 views

loop a css animation with multiple keyframe

I'm trying to make an animation loading screen but I can't loop the multiple keyframes. I learned that I can only do it with JavaScript and I'm not good with scripting how can I do it? Also, I can't ...
رقية انور's user avatar
0 votes
0 answers
14 views

How to use sibling combinator together with `:scope` in `querySelector`

Let's say I have an element and I want to select the next matching sibling. Normally, in css I'd be able to write <some selector for this element> ~ <selector for sibling>, but the sibling ...
Aayla Secura's user avatar
0 votes
0 answers
7 views

Opening Dialog Inside DropDownMenu Shadcn UI React JS

I am trying to have a button in my DropDownMenu from Shadcn UI that opens a Dialog component. I have two options. I trigger the Dialog from the DropDownMenuItem component I trigger the Dialog from a ...
David Henry's user avatar
  • 2,700
-1 votes
0 answers
20 views

How is this webpage scaling a section dynamically to fit within the parent container?

I'm fairly new to front-end development and to React apps but I am building a web page with React where I have a featured section managed in a div that must keep a fixed aspect ratio. This div should ...
YangMcFrisk280's user avatar
-3 votes
0 answers
20 views

Why the program is throwing an error when i am trying to fetch data in .json format in Javascript [closed]

This is the error my code is throwing: This is my code , here I am trying to fetch data from pokemon API but it dosent seem to be working Its supposed to fetch and check if the response is "ok&...
Devansh's user avatar
  • 11
-2 votes
0 answers
14 views

introjs highlighting wrong area

i'm trying to create a tutorial with intro.js but it's highlighting the wrong area, here's the code i'm using document.addEventListener("DOMContentLoaded", function () { if ('@...
Emma's user avatar
  • 1
0 votes
1 answer
28 views

Adding the same function inside a function

So I basically want to do this: label.addEventListener('dragend', function(event){ id++ var newItem = document.createElement("input" + id) newItem.addEventListener('dragend', ...
King Of Chads's user avatar
0 votes
0 answers
15 views

How do I connect to IBM Cloud Object Storage API from IBM Code Engine Function?

Could someone please help me figure out how to connect to IBM Cloud Object Storage API from IBM Code Engine Functions? I'm just starting with GET requests for now, but I eventually want to be able to ...
James Cooper's user avatar
0 votes
1 answer
24 views

How to change focus into next element using Enterkey

Can someone help me I'm so stuck here finding solution in my problem. I have table report and in the first field autocomplete If I pressed Enter key the focus must go to the next element in "...
Darreck Bercasio's user avatar
0 votes
0 answers
7 views

Why livewire app raise JS error from some moment with 3 related country/state/region fields?

In laravel 10 / filamentphp 3 app I have 3 related country/state/region fields where, when user selects country, then all states are filled correctly and had problems with filling all regions, but ...
mstdmstd's user avatar
  • 2,921
0 votes
0 answers
18 views

Infinite scroll pagination with browser back button

I have infinite scroll feature to load more data. So when user scroll towards the bottom of the page, below code updates the URL like: /in/top-wear.html?page=2 /in/top-wear.html?page=3 . . . and so ...
Abhishek kamal's user avatar
0 votes
0 answers
7 views

'This constructor function may be converted to a class declaration.ts(80002)' and 'Uncaught TypeError: Cannot set properties of null (setting '')'

Trying to make a tictactoe game and setting the players and the player moves and It's giving me errors in both vs code and the inspect portion of the webpage. Getting 'This constructor function may be ...
Spencer Durfey's user avatar
0 votes
0 answers
8 views

Getting blank visual using d3.js

I'm trying to create a bar chart for a sample data in the d3.js editor in powerbi, but I'm always getting a blank visual or else just a visual with only 2 lines as x and y axes. Below is the code I've ...
neens's user avatar
  • 15
0 votes
0 answers
14 views

Trouble with signInWithRedirect firebase

With signInWithRedirect, I am redirected fine using the function, but the email does not register on the firebase console, and getRedirectResult gives me a null value every time I'm redirected back ...
nokuree's user avatar
-1 votes
0 answers
20 views

how do i make my bot functional and UX friendly bot? [closed]

This is the documentation: https://bot-whatsapp.netlify.app/docs/essential/ **This are my problems: ** I need users to access bot functions without starting flowInicio over and over again. I need ...
Andrés Torres's user avatar

15 30 50 per page
1
2 3 4 5
168810