Form by themrsami
#e8e8e8
HTML +TailwindCSS
1<div class="mt-4 flex flex-col bg-gray-100 rounded-lg p-4 shadow-sm"> 2 <h2 class="ai-story-maker-dream-form text-black font-bold text-2xl">AI Story Maker Dream Form</h2> 3 4 <div class="mt-4"> 5 <label class="text-black" for="title">Title</label> 6 <input placeholder="Enter a title for your dream" class="w-full bg-white rounded-md border-gray-300 text-black px-2 py-1" type="text"> 7 </div> 8 9 <div class="mt-4"> 10 <label class="text-black" for="description">Description</label> 11 <textarea placeholder="Describe your dream in detail" class="w-full bg-white rounded-md border-gray-300 text-black px-2 py-1" id="description"></textarea> 12 </div> 13 14 <div class="mt-4 flex flex-row space-x-2"> 15 <div class="flex-1"> 16 <label class="text-black" for="emotions">Emotions</label> 17 <input placeholder="What emotions did you feel during your dream?" class="w-full bg-white rounded-md border-gray-300 text-black px-2 py-1" id="emotions" type="text"> 18 </div> 19 20 <div class="flex-1"> 21 <label class="text-black" for="symbols">Symbols</label> 22 <input placeholder="Did you see any symbols in your dream?" class="w-full bg-white rounded-md border-gray-300 text-black px-2 py-1" id="symbols" type="text"> 23 </div> 24 </div> 25 26 <div class="mt-4 flex flex-row space-x-2"> 27 <div class="flex-1"> 28 <label class="text-black" for="themes">Themes</label> 29 <input placeholder="What themes do you think your dream might be about?" class="w-full bg-white rounded-md border-gray-300 text-black px-2 py-1" id="themes" type="text"> 30 </div> 31 </div> 32 33 <div class="mt-4 flex justify-end"> 34 <button class="bg-white text-black rounded-md px-4 py-1 hover:bg-gray-200 hover:text-gray-900" id="generate-button" type="button">Generate</button> 35 </div> 36 37 <div class="mt-4"> 38 <textarea placeholder="Your AI-generated story will appear here" class="w-full bg-white rounded-md border-gray-300 text-black px-2 py-1 h-48" id="story-output"></textarea> 39 </div> 40</div> 41
420 views
420 views
MIT License