Modern websites are not only about beautiful UI and animations security matters too.

One of the most common browser-based attacks is called Clickjacking.

Even frontend developers should understand it because this attack targets the UI itself.

Clickjacking is a type of attack where a malicious website tricks users into clicking something they cannot see.

Usually, the attacker places your website inside an invisible <iframe> and overlays fake buttons or content on top of it.