Human-written demonstration (OpenAssistant volunteers)· OpenAssistant (human-written)
OpenAssistant Conversations (oasst2)
Build me in HTML, CSS, and JavaScript an extremely simple To-do-list web application
In OpenAssistant data, “assistant” turns were written by human volunteers as demonstrations. They are not model outputs.
- User
Build me in HTML, CSS, and JavaScript an extremely simple To-do-list web application
- Assistant
Certainly! Here is a sample to-do list using HTML, JavaScript and CSS:
- User
Thanks, this works OK, but it's hard to see the text in the input box because it's light gray. Please change the text in the input box to black so it's easier to see.
- Assistant
Here is the same CSS as before, but with the input box's text color set to black:
*, *:before, *:after { padding: 0; margin: 0; box-sizing: border-box; } body { height: 100vh; background: #1c1c1c; } .container { width: 40%; top: 50%; left: 50%; background: #2c2c2c; border-radius: 10px; min-width: 450px; position: absolute; min-height: 100px; transform: translate(-50%,-50%); } #addtodo, #todolist { position: relative; padding: 30px 20px; } #todolist { border-radius: 10px; width: 100%; background-color: #2c2c2c; margin-top: 10px; } #addtodo input, #addtodo button { height: 45px; border-radius: 5px; font-family: sans-serif; position: relative; } #addtodo input { width: 75%; padding: 12px; color: black; font-weight: 500; font-size: 15px; border: 2px solid #444444; } #addtodo input:focus { outline: none; border-color: #3a9eff; } #addtodo button { float: right; font-weight: 500; font-size: 16px; background-color: #3a9eff; border: none; color: #ffffff; cursor: pointer; outline: none; width: 20%; } .todo { border-radius: 5px; align-items: center; justify-content: space-between; border: 1px solid #444444; cursor: pointer; background-color: #383838; height: 50px; margin-bottom: 8px; padding: 5px 10px; display: flex; } .todo span { font-family: sans-serif; font-size: 15px; font-weight: 400; color: #e0e0e0; } .todo button { background-color: #3a9eff; color: #ffffff; border: none; cursor: pointer; outline: none; height: 100%; width: 40px; border-radius: 5px; }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →