]> git.cworth.org Git - zombocom-ai/commitdiff
Add some labels to the form fields
authorCarl Worth <cworth@cworth.org>
Wed, 7 Dec 2022 01:04:30 +0000 (17:04 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 7 Dec 2022 01:18:48 +0000 (17:18 -0800)
To make it a little more clear what is going on.

index.html

index 8214163c8d399c1d4a42c3ed91790feac528eeb9..cfd8f6ade61513f5e095758a3a2343f1e5c31f16 100644 (file)
   </div>
 
   <p>
-    Welcome to Zombocom.
+    Welcome to Zombocom. You can do anything at Zombcom, anything at
+    all. The only limit is yourself!
   </p>
 
   <p>
-    You can do anything at Zombcom, anything at all.
-  </p>
+    <form action="" id="zombo-form">
+      <div class="form-row large">
+        <label for="prompt">
+          What do you imagine?
+        </label>
+        <input id="prompt" autocomplete="off" required />
+      </div>
 
-  <p>
-    The only limit is yourself.
-  </p>
+      <div class="form-row small left">
+        <label for="code">
+          Numeric code
+        </label>
+        <input id="code" autocomplete="off" placeholder="(Chosen randomly)" />
+      </div>
 
-  <p>
-    What do you imagine?
+      <div class="form-row small right">
+        <button>Safety prompt</button>
+      </div>
 
-    <form id="form" action="">
-      <input id="prompt" autocomplete="off" />
-      <input id="code" />
-      <button>Safety prompt</button>
-      <button>Make the infinite possible</button>
+      <div class="form-row large">
+        <button>Make the infinite possible</button>
+      </div>
     </form>
   </p>