Precognition

Precognition is the ability to anticipate future events or be aware of something before it happens, often employed through the use of magic or illusions by mentalists, magicians, or illusionists. Precognition is a psychic ability allowing perception of events before they occur.

 

The mentalist used precognition to predict the audience member’s upcoming promotion.

🤯 mentalism glossary 🤯

var accordions = document.getElementsByClassName("accordion"); var i; for (i = 0; i < accordions.length; i++) { accordions[i].addEventListener("click", function() { this.classList.toggle("active"); var panel = this.nextElementSibling; if (panel.style.maxHeight){ panel.style.maxHeight = null; } else { panel.style.maxHeight = panel.scrollHeight + "px"; // Adjust maxHeight of all ancestor panels var parentPanel = panel.parentElement; while (parentPanel.className === "panel") { parentPanel.style.maxHeight = parentPanel.scrollHeight + panel.scrollHeight + "px"; parentPanel = parentPanel.parentElement; } } }); }