-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathinput.html
26 lines (25 loc) · 1.48 KB
/
input.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!-- { "__format": false } -->
<!doctype html>
<html ⚡>
<head>
<script async src=https://cdn.ampproject.org/v0.js></script>
<script async custom-element=amp-img src=https://cdn.ampproject.org/v0/amp-img-0.1.js></script>
<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;
-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes-amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes-amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes-amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes-amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style>
<noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
<link href=https://example.com/favicon.ico rel=icon>
</head>
<body>
<!-- minifies inline amp-script -->
<script id="hello-world" type="text/plain" target="amp-script">
const btn = document.querySelector('button');
btn.addEventListener('click', () => {
document.body.textContent = 'Hello World!';
});
</script>
<!-- ignores JS syntax errors -->
<script id="hello-world" type="text/plain" target="amp-script">
const const;
</script>
</body>
</html>