2021-10-17 21:43:06 +00:00
|
|
|
<!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>
|
2021-10-18 21:33:12 +00:00
|
|
|
<link rel="stylesheet" href="solution.css" />
|
2021-10-17 21:43:06 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2021-10-18 21:33:12 +00:00
|
|
|
<div id="popup-container">
|
|
|
|
<button id="open-modal">Click Me!</button>
|
|
|
|
<div class="popup-modal">
|
|
|
|
<p>Hey there!</p>
|
|
|
|
<button id="close-modal">X</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script src="solution.js"></script>
|
2021-10-17 21:43:06 +00:00
|
|
|
</body>
|
|
|
|
</html>
|