3 ms·
I've actually been having a lot of fun building stuff using OpenAI Codex. I suppose something where I could write the specs and the AI spits out something resem
by muzani 4y ago
I've actually been having a lot of fun building stuff using OpenAI Codex. I suppose something where I could write the specs and the AI spits out something resembling HTML/JS/CSS so that I can verify that I communicated correctly.
- create a dark mode palette for the page based on this image: {file path}
- make a form with a single name (not first and last), email, country code, phone
-- this form should allow a document upload when clicking
-- allow drag and drap to upload documents
-- add a tick box that says "I agree with terms and conditions"
- this form should have input validation
-- all fields should be secure from injection
-- name can be anything except number
-- file type is documents (not images but including PDF)
-- absolutely ban exe files
- upon valid input, send this form to {URL}
- if the response from {URL} is valid, redirect to {success page}
-- else show the error message if it's type 200
- muzani 4y agoJSFiddle of this in 15 mins, with all the bugs included: https://jsfiddle.net/bmy7xzd6/1/ https://jsfiddle.net/bmy7xzd6/1/ I guess the "perfect" language would have far less bugs.