1
0
mirror of https://api.glitch.com/git/presence-button synced 2024-11-05 10:37:29 +00:00

🚴🏯 Checkpoint

./views/index.html:334152/235
./public/client.js:334152/160
This commit is contained in:
Glitch (hello-express) 2018-06-25 18:47:57 +00:00
parent ecb466960c
commit 3b18fda59c
2 changed files with 42 additions and 46 deletions

View File

@ -1,7 +1,6 @@
// client-side js // client-side js
// run by the browser each time your view template is loaded // run by the browser each time your view template is loaded
(function(){
console.log('hello world :o'); console.log('hello world :o');
// our default array of dreams // our default array of dreams
@ -41,5 +40,3 @@
dreamInput.value = ''; dreamInput.value = '';
dreamInput.focus(); dreamInput.focus();
}; };
})()

View File

@ -19,6 +19,9 @@
<!-- import the webpage's stylesheet --> <!-- import the webpage's stylesheet -->
<link rel="stylesheet" href="/style.css"> <link rel="stylesheet" href="/style.css">
<!-- import the webpage's client-side javascript file -->
<script src="/client.js" defer></script>
</head> </head>
<body> <body>
<header> <header>
@ -46,10 +49,6 @@
Made with <a href="https://glitch.com">Glitch</a>! Made with <a href="https://glitch.com">Glitch</a>!
</footer> </footer>
<!-- import the webpage's client-side javascript file -->
<script src="/client.js"></script>
<!-- include the Glitch button to show what the webpage is about and <!-- include the Glitch button to show what the webpage is about and
to make it easier for folks to view source and remix --> to make it easier for folks to view source and remix -->
<div class="glitchButton" style="position:fixed;top:20px;right:20px;"></div> <div class="glitchButton" style="position:fixed;top:20px;right:20px;"></div>