Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardHTMLPopover API top layerSingle-choice MCQ

Two auto popovers, #a then #b, are shown in that order. They overlap on screen. Which one paints on top, and why?

a.showPopover(); // #a appears earlier in the DOM and is shown first b.showPopover(); // #b is shown second