🍢👗 Checkpoint

./room.js:530995/263
./server.js:530995/2484
./views/room.handlebars:530995/81
./public/style.css:530995/227
./views/audience.handlebars:530995/2587
This commit is contained in:
Glitch (hello-express)
2020-04-09 12:16:21 +00:00
parent 98364e07d9
commit 0c282eaf59
5 changed files with 63 additions and 2 deletions

29
views/audience.handlebars Normal file
View File

@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Buzzer</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="A cool thing made with Glitch">
<link id="favicon" rel="icon" href="https://glitch.com/edit/favicon-app.ico" type="image/x-icon">
<link rel="stylesheet" href="/style.css">
<script src="/script.js" defer></script>
</head>
<body>
<header>
<h1>{{room}}</h1>
</header>
<main>
<h2>Participants</h2>
{{#each participants}}
<figure class="participant">
<img src="{{this.character}}" />
<figcaption>{{this.participantName}}</figcaption>
</figure>
{{/each}}
</main>
</body>
</html>

View File

@@ -16,7 +16,7 @@
</header>
<main>
<h2>Oh hi, {{name}}</h2>
<h2>Oh hi, {{name}} <img src="{{character}}"/></h2>
<button id="buzzer">
BUZZ