odin-css-exercises/animation/02-pop-up/index.html
2022-01-12 14:38:29 -06:00

22 lines
641 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Popup</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="backdrop"></div>
<div class="popup-modal">
<h1>Look at me!</h1>
<p>I'm a pop up dialog!</p>
<button id="close-modal">Close Modal</button>
</div>
<div class="button-container">
<button id="trigger-modal">Open Modal</button>
</div>
<script src="script.js"></script>
</body>
</html>