Algorithm · Amazon · Medium
You are given a reference screenshot of a user interface that contains three numbered buttons. Your task is to reproduce its visual appearance with HTML and CSS, and to implement the interactive behaviour described below. The interface must include exactly three clickable buttons, each marked with a distinct label (for instance, 1, 2, and 3). Whenever the user clicks a button, a floating overlay card (the "panel") must appear at a predictable position relative to that…