Public — Winter Camping Diagram

const popupContent = {
area1: `
Information – Area 1
This is the information associated with the first clickable area.
You can include bold text, italic text, and hyperlinks.
- First detail
- Second detail
- Third detail
`,
area2: `
Information – Area 2
This is a different information box.
You can format this content independently.
`
};
function showPopup(area) { document.getElementById("popup-text").innerHTML = popupContent[area];
document.getElementById("popup").style.display = "flex"; }
function closePopup() { document.getElementById("popup").style.display = "none"; }
document.addEventListener("keydown", function(event) { if (event.key === "Escape") { closePopup(); } });