I'm working on a code where I need to implement a small animation in JavaScript for displaying an element with a delay after a certain function. Here's what I have so far:
function OpenPanelEdit() {
const element = document.getElementsByClassName("menu-on-center-edit");
for(const i=0; i < element.length; i++) {
element[i].style.display = 'flex';
}
};
Does anyone have any ideas on how to accomplish this?