Help! I’m making a dropdown menu using hotspot. I’m using the + icon, and i want it to disappear upon clicking / the pop-up appearing. How do I do this?
Thanks!
Help! I’m making a dropdown menu using hotspot. I’m using the + icon, and i want it to disappear upon clicking / the pop-up appearing. How do I do this?
Thanks!
@nothingburger You can find many such examples HTML/CSS code online.
Simple logic to implement :
On click:
– Hide icon
– Show popup
button.onclick = () => {
button.style.display = “none”;
popup.style.display = “block”;
};