Comment by loco5niner
2 years ago
ChatGPT got me a similar HTML based solution with this prompt (F11 for full scren):
Create a simple web page with a red blinking LED in the top-left corner. The LED should start blinking at 150 BPM and gradually slow down to 60 BPM. The initial size of the LED should be 40px, and it should completely disappear during the "off" phase. Additionally, include a red box shadow during the "on" phase of the blink. Please use HTML, CSS, and JavaScript for the implementation. Adjust the code as needed for clarity and readability.
These days with GPT and the lot there is really no reason not to try stuff. Nice one!
Thanks! One new thing I learned after multiple iterations of: "That's great, but can you change this, or that". Once I was happy with the result, I asked it to produce the AI prompt that I could give next time to generate the same output, and that's what I put in my previous comment.