You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
648 B

<!DOCTYPE html>
<html>
<head>
<title>Pimp my style</title>
<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;,">
<link rel="stylesheet" type="text/css" href="./pimp-my-style.css">
</head>
<body>
<script type="module">
import { pimp } from './pimp-my-style.js'
const body = document.querySelector('body')
const button = document.createElement('button')
button.className = 'button'
button.textContent = 'pimp my style'
body.append(button)
button.addEventListener('click', pimp)
</script>
</body>
</html>