13 / 20
js

Browser Popup

<button>Alert</button>
const button = document.querySelector("button");
 
button.addEventListener("click", () => {
  window.alert("Hello! This is a popup message.");
});