📷💕 Checkpoint

./public/style.css:1062301/802
./src/pages/index.hbs:1062301/87
This commit is contained in:
Glitch (glitch-hello-node) committed 2021-04-13 15:36:39 +00:00
1 parent 064be38b0e
commit d3b58f8a8c
2 files changed
+14 -6

No files matched your search

+7 -2
View File
@@ -42,10 +42,15 @@
<div class="color-form">
<!-- add text indicating that we've changed color OR had an error -->
{{#if color}}
<div class="color-info">Now available in <b>{{color}}</b>!</div>
<p class="color-info">
Now available in <b>{{color}}</b>!
</p>
{{/if}}
{{#if colorError}}
<div class="color-info">Hmm. Couldn't find <b>"{{colorError}}"</b>. <a href="?randomize=go">Try a random color?</a></div>
<p class="color-info">
Hmm. Couldn't find <b>"{{colorError}}"</b>.
<a href="?randomize=go">Try a random color?</a>
</p>
{{/if}}
<!-- the "what's your favorite color?" form sends a POST to the server, check server.js to see how it works -->