2020-06-15 21:33:28 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2023-02-14 13:00:40 +00:00
|
|
|
|
2020-06-15 21:33:28 +00:00
|
|
|
<head>
|
2023-02-14 13:00:40 +00:00
|
|
|
<title>Pimp my style</title>
|
2020-06-15 21:33:28 +00:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
<link id="fav" rel="shortcut icon" type="image/x-icon" href="data:image/x-icon;,">
|
2023-02-28 10:41:11 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="./pimp-my-style.data.css">
|
2020-06-15 21:33:28 +00:00
|
|
|
</head>
|
2023-02-14 13:00:40 +00:00
|
|
|
|
2020-06-15 21:33:28 +00:00
|
|
|
<body>
|
|
|
|
<script type="module">
|
|
|
|
|
2023-02-14 13:00:40 +00:00
|
|
|
import { pimp } from './pimp-my-style.js'
|
2020-06-15 21:33:28 +00:00
|
|
|
|
2023-02-14 13:00:40 +00:00
|
|
|
const body = document.querySelector('body')
|
2020-06-15 21:33:28 +00:00
|
|
|
|
2023-02-14 13:00:40 +00:00
|
|
|
const button = document.createElement('button')
|
|
|
|
button.className = 'button'
|
|
|
|
button.textContent = 'pimp my style'
|
|
|
|
body.append(button)
|
2020-06-15 21:33:28 +00:00
|
|
|
|
2023-02-14 13:00:40 +00:00
|
|
|
button.addEventListener('click', pimp)
|
2020-06-15 21:33:28 +00:00
|
|
|
|
|
|
|
</script>
|
|
|
|
</body>
|
2023-02-14 13:00:40 +00:00
|
|
|
|
|
|
|
</html>
|