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.