Hi! I’m currently trying to transfer any text typed in the text input to the alert function.
For example, if “I like food.” is typed into the text input, and then the button is pressed, triggering the alert and prompting the user with; Title: “Submit this message?”, Message: “I like food.”, and yes, no options.
Currently struggling with the message part because I can’t seem to capture the text inputted. Wondering if anybody knows a way to do it. Thanks for reading and helping out!