God, this is frustrating. I've basically made no advances today with the coding of this massive quiz. There are several ways to move forward, but for the moment, and for my sanity's sake, I'm going to put this thing aside to work on some other projects. For the past few hours, I've been trying to make a particular quiz question—one with check-box answers—both appear on the quiz and actually function. I'm not even at the appear stage yet, and I don't know what the problem is. I even tried copying and pasting the check-box code used in my religion quiz, but that code is actually written in a slightly different style: When I pasted it into the current code for this big quiz, the entire big quiz simply stopped appearing. So—back to square one.
After undoing my changes and restoring the partially working code, I rooted around other parts of the code to change up the wording and text formatting of some of the quiz questions. For example, several questions needed a prompt telling the quiz-taker to enter a number (on an alphanumeric keyboard, people might type a "nine" instead of the required "9"). Such prompts are needed because some people, faced with computers, just freeze up and go stupid. In other cases, the text formatting was lost when the AI rendered the questions, so I had to go in and manually re-add things like bold and italic and bold-italic. Example:
Look at this sentence:
Cheryl plucked the feathers out of her frizzy hair.
How many nouns do you see?a. 4b. 2c. 3d. 1
I changed that to:
Look at this sentence:Cheryl plucked the feathers out of her frizzy hair.How many nouns do you see?a. 4b. 2c. 3d. 1
One thing I can do to make progress is to copy-paste code from earlier sections of the quiz into later sections as a template, then manually type in the requisite questions and answers, overwriting the earlier code. It's a slow process—one I had engaged in earlier this afternoon—but I gave up on that route when I hit the aforementioned snag of the check-box question that wouldn't become visible. What I might do is skip that nettlesome question and manually recode the questions that can be recoded, then figure things out from there.
Another thing I can do is vibe code small sections of the quiz since I've successfully done that sort of vibe coding eight times before. It's not that I'm new at vibe coding; it's that this current project is much, much bigger and has a larger variety of question formats. Anyway, if I adopt this strategy, I'll code single sections of the quiz, then tell the AI what the quiz's larger architecture should look like, up to and including the various fades and buttons and section-to-section transitions and features.
I also watched a video today about how, if you're vibe coding an app, you need to be mindful of security issues as well. I think the only potential security hole for me would be in how to get customers to pay their $0.99 safely. But that problem still lies a long way off; it's not an immediate worry. I need a complete quiz first, and I'm barely halfway there.
So for the moment, I'm taking a break and just breathing. Fuck, this is frustrating. Eventually, I'll get back to this project—maybe days from now, maybe weeks from now—but right now, I need to step away before I punch a hole in my goddamn monitor.
Meanwhile, go try what there is of the quiz for yourself. And yeah, I already know what bugs you'll encounter, so you don't need to tell me, but if you want, leave a comment on that post, anyway. If it'll make you feel better.





No comments:
Post a Comment
READ THIS BEFORE COMMENTING!
All comments are subject to approval before they are published, so they will not appear immediately. Comments should be civil, relevant, and substantive. Anonymous comments are not allowed and will be unceremoniously deleted. For more on my comments policy, please see this entry on my other blog.
AND A NEW RULE (per this post): comments critical of Trump's lying must include criticism of Biden's or Kamala's or some prominent leftie's lying on a one-for-one basis! Failure to be balanced means your comment will not be published.