I just finished reading the blue book. I'll speed through it again periodically because I only slowed down for certain bits a little bit throughout the book.

Here is my take on this:

I saw this example. And I asked AI but it included spans and looked like this:

for (let i = 0; i < text.length; i++) {
const span = document.createElement("span");
span.textContent = text[i]; = `${fontSize}px`;
fontSize += 2

I've been reading javascript aswell. But just reading and practising only a little.

Are there any takes on simply writing something with incremental fontsize?
ChatGPT hasn't seen a lot of DM so it often writes junk code with other languages mixed in—in this case, dodgy JavaScript. It isn't really reliable as a source for code.

To output bigger text, something like player << "<big>[mytext]" would work, or you can replace the big tag with "<span style='font-size:120%'>" or something.

Login to reply.