✈️👕 Checkpoint
./src/pages/index.hbs:1062301/1895
This commit is contained in:
1 parent
f6b84ebae2
commit
86ea8f7635
1 file changed
+10
-2
+10
-2
@@ -38,8 +38,6 @@
|
|||||||
<div class="content" role="main">
|
<div class="content" role="main">
|
||||||
<!-- this is the start of content for our page -->
|
<!-- this is the start of content for our page -->
|
||||||
<h1 class="title">Hello Node!</h1>
|
<h1 class="title">Hello Node!</h1>
|
||||||
|
|
||||||
<div class="color-form">
|
|
||||||
<!-- add text indicating that we've changed color OR had an error -->
|
<!-- add text indicating that we've changed color OR had an error -->
|
||||||
{{#if color}}
|
{{#if color}}
|
||||||
<p class="color-info">
|
<p class="color-info">
|
||||||
@@ -53,6 +51,16 @@
|
|||||||
</p>
|
</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
<div class="color-form">
|
||||||
|
<!-- our default paragraph/message -->
|
||||||
|
{{#unless colorError}}
|
||||||
|
{{#unless color}}
|
||||||
|
<p>
|
||||||
|
Learn about communication with a server by talking about color.
|
||||||
|
</p>
|
||||||
|
{{/unless}}
|
||||||
|
{{/unless}}
|
||||||
|
|
||||||
<!-- the "what's your favorite color?" form sends a POST to the server, check server.js to see how it works -->
|
<!-- the "what's your favorite color?" form sends a POST to the server, check server.js to see how it works -->
|
||||||
<form class="color-search" method="post">
|
<form class="color-search" method="post">
|
||||||
<label for="color">
|
<label for="color">
|
||||||
|
|||||||
Reference in new issue
Block a user