I have zero design skills and I had to create something using javascript. I gave some prompts and it was able to come up with a pop-up box. It needed some tweaking but having to not write all of that was really satisfying.
They would probably not pass in the div or filler elements.
The reason I passed the div was I wanted things to be surrounded in that exact space. So when the model output it, the button would be in right place with right size.
The extra filler forms a guiding factor that helps will be stored in the context! I did that using GPT3.5.
https://chat.openai.com/share/cb3a477b-57bd-46fd-92c9-4a3016...
I have attached the example in the above chat.