Import of glitchdotcom/glitch-hello-node
This commit is contained in:
1 parent
2c1a9fb34c
commit
6153c101b0
14 files changed
+967
-1242
No files matched your search
@@ -1,45 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<title>Hello World!</title>
|
||||
|
||||
<!-- import the webpage's stylesheet -->
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
|
||||
<!-- import the webpage's javascript file -->
|
||||
<script src="/script.js" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<div class="content">
|
||||
<span class="title">Hey, Node!</span>
|
||||
<img
|
||||
src="illustration.svg"
|
||||
class="illustration"
|
||||
alt="Javascript logo"
|
||||
/>
|
||||
<div><!-- helloooo --></div>
|
||||
</div>
|
||||
</div>
|
||||
<nav class="navigation">
|
||||
<a
|
||||
href="https://glitch.com/edit/#!/remix/glitch-hello-node"
|
||||
class="btn--remix"
|
||||
>
|
||||
<img
|
||||
src="https://cdn.glitch.com/a9975ea6-8949-4bab-addb-8a95021dc2da%2FLogo_Color.svg?v=1602781328576"
|
||||
/>
|
||||
Remix on Glitch
|
||||
</a>
|
||||
</nav>
|
||||
|
||||
<!-- include the Glitch button to show what the webpage is about and
|
||||
to make it easier for folks to view source and remix -->
|
||||
<div class="glitchButton" style="position:fixed;top:20px;right:20px;"></div>
|
||||
<script src="https://button.glitch.me/button.js" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,11 +0,0 @@
|
||||
// client-side js, loaded by index.html
|
||||
// run by the browser each time the page is loaded
|
||||
|
||||
console.log("hello world :o");
|
||||
|
||||
// fetch the initial list of dreams
|
||||
fetch("/api/flavors")
|
||||
.then(response => response.json()) // parse the JSON from the server
|
||||
.then(dreams => {
|
||||
return [];
|
||||
});
|
||||
+4
-4
@@ -122,7 +122,7 @@ body {
|
||||
margin-top: var(--image-margin);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Add hover state to the buttons!! oops
|
||||
*/
|
||||
/* our custom color indicator */
|
||||
div.color-info {
|
||||
color: #ffffff;
|
||||
}
|
||||
Reference in new issue
Block a user