Skip to content

Instantly share code, notes, and snippets.

@fipso
Created September 2, 2017 15:56
Show Gist options
  • Save fipso/cd84975062a5d055adce474290cc751b to your computer and use it in GitHub Desktop.
Save fipso/cd84975062a5d055adce474290cc751b to your computer and use it in GitHub Desktop.
<html>
<head>
<title>Hallo Welt</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/6.6.10/sweetalert2.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/6.6.10/sweetalert2.min.js"></script>
<script>
function halloWelt(){
swal("test 123", "Geht", "info");
}
</script>
</head>
<body>
<h1>Hallo Welt</h1>
<p>Das ist meine Seite</p>
<div style="border-style: solid;">
<p id="knopf">Knopf</p>
<input type="button" value="Klick Mich" onclick="halloWelt()">
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment