Of course Stack Overflow is not and should not be a free coding service. However there should be something available for simple problems like this. For example, this inquiry could be posed to an AI. Although the question is a bit imprecise, the AI generated script could further be edited and/or the question refined and resubmitted by this newcomer to coding.
I have successfully run the 'instructions', slightly edited, through the Perplexity AI and the result accomplished the goals posed by 'BeginnerPro'. Given the reminder about not posting an answer generated by an AI, I'm not doing so here.