<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="/assets/reset.css" rel="stylesheet">
<link href="setup.css" rel="stylesheet">
</head>
<body>
<button id="example">Click here!</button>
<script>
let button = document.querySelector('#example')
button.onclick = () => {
alert('The button was clicked!')
}
</script>
</body>
</html>
html, body { height: 100%; }
body {
--base: 20px;
align-items: center;
display: flex;
font-family: sans-serif;
justify-content: center;
padding: var(--base);
}
button {
background-color: deepskyblue;
border-radius: calc(var(--base) / 2);
cursor: pointer;
padding: calc(var(--base) / 2);
}