Created
August 25, 2021 19:12
-
-
Save BlackScorp/d7390fead02103c9ab4ea174a8a9b9c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="de"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Web Components</title> | |
</head> | |
<body> | |
<cookie-banner> | |
<h1 slot="title">Das ist ein Projekt titel</h1> | |
<div slot="text">Das ist ein besonderer text</div> | |
</cookie-banner> | |
<script defer src="cookie-banner.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment