Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (19 sloc) 698 Bytes
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>WebPush</title>
</head>
<body>
<h1>Web Push</h1>
<button id="subscribeButton">Subscribe</button>
<button id="unsubscribeButton" disabled>Unsubscribe</button>
<h4 style="margin-bottom: 0">Random number fact from http://numbersapi.com</h4>
<h3 style="margin-top: 0" id="fact"></h3>
<h4 style="margin-bottom: 0">Random chuck joke from https://api.icndb.com</h4>
<h3 style="margin-top: 0" id="joke"></h3>
<script src="client.js"></script>
</body>
</html>
You can’t perform that action at this time.