python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
If an event issued on "this" bubbles up out of my component then why do we need the "composed" property on custom events?
So I have read several pieces that say if you want a custom event to traverse the shadow DOM boundary and cross into the light DOM you need to set the custom event's composed property to true. I notic...

Roger Heathcote
Votes: 0
Answers: 4
How to determine ordering of event listeners in Javascript
I'm confused by the ordering of event listeners in Javascript. If I have a form with a submit button and I'd like to alert a user instead of automatically submitting the form, but only when the submit...
khajiit
Votes: 0
Answers: 1
Food Ranking List Challenge (TestDome)
I get stuck on this challenge so I need help.
A website needs a list where users can rank their favorite foods.
Write the setup function, which should register click handlers on all
Up! and Down! but...
munteanu dan
Votes: 0
Answers: 3
How to listen to open and close events of a select on mobile?
I am aware that no native events exist for select on open/close. I am using select.mousedown and document.mouseup as suggested in this answer, and they work well on desktop. However, they don't work a...
Alex
Votes: 0
Answers: 2